Skip to content

Commit

Permalink
Fudge .path test as it gives improper empty Seq
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Sep 15, 2018
1 parent 205aa81 commit 84da99b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions S32-io/io-spec-unix.t
Expand Up @@ -84,6 +84,8 @@ my $path = %*ENV<PATH>;
my @want = </usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games .>;
is-eqv $Unix.path, @want.Seq, 'path';
%*ENV<PATH> = '';
# https://github.com/rakudo/rakudo/issues/2281
#?rakudo TODO '.path does not give a proper empty Seq'
is-eqv $Unix.path, ().Seq, 'no path';
%*ENV<PATH> = $path;

Expand Down

0 comments on commit 84da99b

Please sign in to comment.