Skip to content

Commit e58cb30

Browse files
committed
Add test for RT #125953
1 parent a5831ca commit e58cb30

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

S02-magicals/env.t

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use Test;
66
use lib 't/spec/packages';
77
use Test::Util;
88
# L<S28/Named variables>
9-
plan 17;
9+
plan 18;
1010

1111
=begin desc
1212
@@ -107,4 +107,11 @@ throws-like { EVAL "%ENV" },
107107
ok $%*ENV, "itemizer works on %*ENV.";
108108
}
109109

110+
# RT #125953
111+
{
112+
%*ENV<FOOBAR> = 1;
113+
lives-ok { run('echo', 'hello') },
114+
'call run($command) after setting non-strings into %*ENV does not die';
115+
}
116+
110117
# vim: ft=perl6

0 commit comments

Comments
 (0)