summaryrefslogtreecommitdiff
path: root/t/comp
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-08-22 22:58:37 -0700
committerFather Chrysostomos <sprout@cpan.org>2013-08-23 00:09:33 -0700
commit9cf272522da1fe871e57b0a75cc3322904a5276e (patch)
treedc6c8bd20937684badaf3ce8b42739b6ffa044aa /t/comp
parent4944d06bf95d97b3df7d001e695ad2ce31011184 (diff)
downloadperl-9cf272522da1fe871e57b0a75cc3322904a5276e.tar.gz
Fix typo in bf1b738b; another line num bug
This affects only mad builds. The line number after nullary_keyword_such_as_time ; was off by one.
Diffstat (limited to 't/comp')
-rw-r--r--t/comp/parser.t7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/comp/parser.t b/t/comp/parser.t
index 027d712cb0..28412da315 100644
--- a/t/comp/parser.t
+++ b/t/comp/parser.t
@@ -8,7 +8,7 @@ BEGIN {
chdir 't';
}
-print "1..160\n";
+print "1..162\n";
sub failed {
my ($got, $expected, $name) = @_;
@@ -587,5 +587,10 @@ ${check('parser\.t', 537, 'first line of interp in here-doc');;
check('parser\.t', 538, 'second line of interp in here-doc');}
EOW
+time
+#line 42
+;check('parser\.t', 42, 'line number after "nullary\n#line"');
+
+
__END__
# Don't add new tests HERE. See note above