projects
/
p5sagit/p5-mst-13.2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b2dcd1d10ee8f07fb47e3073f0c6ad9e47884414
[p5sagit/p5-mst-13.2.git]
/
lib
/
Test
/
Simple
/
t
/
tbt_04line_num.t
1
#!/usr/bin/perl
2
3
BEGIN {
4
if( $ENV{PERL_CORE} ) {
5
chdir 't';
6
@INC = '../lib';
7
}
8
}
9
10
use Test::More tests => 3;
11
use Test::Builder::Tester;
12
13
is(line_num(),6,"normal line num");
14
is(line_num(-1),6,"line number minus one");
15
is(line_num(+2),10,"line number plus two");