Upgrade to Test-Simple-0.82.
[p5sagit/p5-mst-13.2.git] / lib / Test / Simple / t / buffer.t
1 #!/usr/bin/perl
2 # $Id: /mirror/googlecode/test-more/t/buffer.t 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51  $
3
4 BEGIN {
5     if( $ENV{PERL_CORE} ) {
6         chdir 't';
7         @INC = '../lib';
8     }
9 }
10
11 # Ensure that intermixed prints to STDOUT and tests come out in the
12 # right order (ie. no buffering problems).
13
14 use Test::More tests => 20;
15 my $T = Test::Builder->new;
16 $T->no_ending(1);
17
18 for my $num (1..10) {
19     $tnum = $num * 2;
20     pass("I'm ok");
21     $T->current_test($tnum);
22     print "ok $tnum - You're ok\n";
23 }