This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Refactor some parser.t line number tests
authorFather Chrysostomos <sprout@cpan.org>
Sun, 1 Sep 2013 21:26:29 +0000 (14:26 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 1 Sep 2013 21:47:10 +0000 (14:47 -0700)
commitcbf45e8454c586302a9f324433b3155521872636
treec66b39cfa08fae4e1fc15f752d0115e64b7444f2
parent65c68e17188d09c96250348d769c0c309500d5b9
Refactor some parser.t line number tests

The check() function is designed to check the file set by #line, but
the last half dozen tests have no need to test for that.  (I know
because I wrote them.)  So make a new check_line function that just
checks the line number, and have them use that.
t/comp/parser.t