Skip to content

Commit 8988efd

Browse files
author
Paweł Murias
committed
Change eval(...) or die into eval_lives_ok.
1 parent 544c9af commit 8988efd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

S01-perl-5-integration/import.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ unless (try { eval("1", :lang<perl5>) }) {
1414
exit;
1515
}
1616

17-
eval q[
17+
eval_lives_ok(q[
1818
use Text::Wrap:from<perl5> 'wrap';
1919
is(wrap('foo', 'bar', 'baz'), 'foobaz', "import p5 module");
20-
] or die $!.perl;
20+
],"parse :from<perl5> syntax");
2121

2222
# vim: ft=perl6

0 commit comments

Comments
 (0)