☰
Debian Codegraph
@
0.51-1
0.49-1
/
/
t
/
60line.t
☽
☼
t/60line.t
code
plain
raw
Artistic
or
GPL-1+
2021-2026, Paul Evans <
[email protected]
>
debian/copyright
1
#!/usr/bin/perl
2
3
use v5.14;
4
use warnings;
5
6
use Test2::V0;
7
8
use lib "t";
9
use testcase "t::line";
10
11
BEGIN { $^H{"t::line/permit"} = 1; }
12
13
{
14
my $ret = line here;
15
is( $ret, __LINE__-1, 'line captures line number' );
16
}
17
18
done_testing;