Skip to content

Commit f302b59

Browse files
committed
t/comp/package_block.t: Change expectations for 2 tests
1 parent c42c667 commit f302b59

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

t/comp/package_block.t

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,7 @@ eval q{
8181
}
8282
$main::result .= "j(".__PACKAGE__."/".eval("__PACKAGE__").")";
8383
};
84-
print $main::result eq
85-
"a(main/main)d(Foo/Foo)g(main/main)i(Bar/Bar)j(main/main)" ?
86-
"ok 6\n" : "not ok 6\n";
87-
print $main::warning =~ /\A
88-
Use\ of\ "goto"\ [^\n]*\ line\ 3\.\n
89-
Use\ of\ "goto"\ [^\n]*\ line\ 15\.\n
90-
\z/x ? "ok 7\n" : "not ok 7\n";
84+
print $main::result eq "a(main/main)" ? "ok 6\n" : "not ok 6\n";
85+
print $main::warning eq '' ? "ok 7\n" : "not ok 7\n";
9186

9287
1;

0 commit comments

Comments
 (0)