Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed a %*ENV test.
This test fails sometimes because .gist does .sort action, and it ignores some infos when $*ENV has 100+ keys.
Change the key to upper-case to make sure which we want is not at the end.
  • Loading branch information
zhuomingliang committed Dec 16, 2014
1 parent 89019c9 commit ac5776a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions S02-magicals/env.t
Expand Up @@ -97,9 +97,9 @@ throws_like { EVAL "%ENV" },

# RT #77458
{
%*ENV<abc> = 'def';
ok %*ENV.gist ~~ /abc/, '%*ENV.gist generates something with abc in it';
ok %*ENV.perl ~~ /abc/, '%*ENV.perl generates something with abc in it';
%*ENV<ABC> = 'def';
ok %*ENV.gist ~~ /ABC/, '%*ENV.gist generates something with ABC in it';
ok %*ENV.perl ~~ /ABC/, '%*ENV.perl generates something with ABC in it';
}

# RT #117951
Expand Down

0 comments on commit ac5776a

Please sign in to comment.