Skip to content

Commit d89b5f4

Browse files
committed
Add tests for RT #89706
1 parent 3203315 commit d89b5f4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

S02-names/pseudo.t

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use v6;
22

33
use Test;
44

5-
plan 140;
5+
plan 142;
66

77
# I'm not convinced this is in the right place
88
# Some parts of this testing (i.e. WHO) seem a bit more S10ish -sorear
@@ -240,6 +240,14 @@ plan 140;
240240
}
241241
}
242242

243+
#RT #89706
244+
{
245+
$PROCESS::PROGRAM_NAME = "otter";
246+
is $*PROGRAM_NAME, "otter", 'existing $* assignable via PROCESS';
247+
$PROCESS::SOME_OTHER_VAR = "else";
248+
is $*SOME_OTHER_VAR, "else", 'new $* assignable via PROCESS';
249+
}
250+
243251
# COMPILING - not testable without BEGIN
244252

245253
# DYNAMIC

0 commit comments

Comments
 (0)