Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change test to not rely on the direct form of the string generated by…
… .gist or .perl.
  • Loading branch information
colomon committed Mar 7, 2013
1 parent 5a0824c commit 1816add
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions S02-magicals/env.t
Expand Up @@ -101,8 +101,9 @@ eval_dies_ok("%ENV", '%ENV not visible by default');

# RT #77458
{
ok %*ENV.gist ~~ /\)\.hash$/, '%*ENV.gist works';
ok %*ENV.perl ~~ /\)\.hash$/, '%*ENV.perl works';
%*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';
}

# vim: ft=perl6

0 comments on commit 1816add

Please sign in to comment.