File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ for %*ENV.kv -> $k,$v {
69
69
if (% child_env {$ k } ! ~~ $ v ) {
70
70
if (! $ err ) {
71
71
# ?rakudo todo 'nom regression'
72
+ # ?niecza todo 'Environment gets propagated to child.'
72
73
flunk (" Environment gets propagated to child." );
73
74
$ err ++ ;
74
75
};
@@ -101,6 +102,7 @@ for %*ENV.kv -> $k,$v {
101
102
next if $ k eq any <SHLVL _ OLDPWD PS1 >;
102
103
if (% child_env {$ k } ! ~~ $ v ) {
103
104
if (! $ err ) {
105
+ # ?niecza todo 'Environment gets propagated to child.'
104
106
flunk (" Environment gets propagated to child." );
105
107
$ err ++ ;
106
108
};
@@ -119,10 +121,7 @@ ok !%*ENV.exists("does_not_exist"), "exists() returns false on a not defined env
119
121
# %ENV must not be imported by default
120
122
# ?rakudo skip 'set_pmc() not implemented in class Exception'
121
123
# ?pugs todo 'bug'
122
- {
123
- my $ x = eval " % ENV" ;
124
- ok $! ~~ m /Undeclared /, ' %ENV not visible by default' ;
125
- }
124
+ eval_dies_ok(" % ENV" , ' %ENV not visible by default' );
126
125
127
126
# following doesn't parse yet
128
127
# ?rakudo skip 'import keyword'
You can’t perform that action at this time.
0 commit comments