This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
bproto.t: Test pos(1,$b)
authorFather Chrysostomos <sprout@cpan.org>
Sat, 26 May 2012 12:47:08 +0000 (05:47 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 29 May 2012 16:36:28 +0000 (09:36 -0700)
I nearly broke this.

t/comp/bproto.t

index bc0f1a2..cd66278 100644 (file)
@@ -8,7 +8,7 @@ BEGIN {
     @INC = '../lib';
 }
 
-print "1..14\n";
+print "1..15\n";
 
 my $i = 1;
 
@@ -35,6 +35,7 @@ sub test_no_error {
 
 test_too_many($_) for split /\n/,
 q[     defined(&foo, $bar);
+       pos(1,$b);
        undef(&foo, $bar);
        uc($bar,$bar);
 ];