Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[S02-magicals/progname] Make both tests equally forgiving
  • Loading branch information
sorear committed Nov 1, 2011
1 parent f8ffa96 commit f926610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S02-magicals/progname.t
Expand Up @@ -11,7 +11,7 @@ if $*OS eq "browser" {
}

#?rakudo skip 'No PROCESS yet'
ok(PROCESS::<$PROGRAM_NAME> eq ('t/spec/S02-magicals/progname.t' | 't\\spec\\S02-magicals\\progname.t'), "progname var matches test file path");
ok(PROCESS::<$PROGRAM_NAME> ~~ / t['/'|'\\']spec['/'|'\\']S02'-'magicals['/'|'\\']progname'.'\w+$/, "progname var matches test file path");
ok($*PROGRAM_NAME ~~ / t['/'|'\\']spec['/'|'\\']S02'-'magicals['/'|'\\']progname'.'\w+$/, "progname var accessible as context var");

# NOTE:
Expand Down

0 comments on commit f926610

Please sign in to comment.