projects
/
pkg-perl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add the following packages libalgorithm-diff-perl libspiffy-perl libtext-diff-perl...
[pkg-perl]
/
deb-src
/
libtest-base-perl
/
libtest-base-perl-0.54
/
t
/
only.t
1
use Test::Base tests => 3;
2
no_diag_on_only;
3
run { pass };
4
5
is scalar(blocks), 1;
6
7
is first_block->foo, "2";
8
9
__DATA__
10
=== One
11
--- foo: 1
12
=== Two
13
--- ONLY
14
--- foo: 2
15
=== Three
16
--- foo: 3
17
--- ONLY
18
=== Four
19
--- foo: 4