Skip to content

Commit

Permalink
[v6.d REVIEW] Don't use say in unspace test
Browse files Browse the repository at this point in the history
Orig: 3f81f39aa
  • Loading branch information
zoffixznet committed Sep 29, 2018
1 parent 3394e4e commit 1a4d8c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S02-lexical-conventions/unspace.t
Expand Up @@ -333,8 +333,7 @@ is IO::Path\.^name, "IO::Path", "bare longname metamethod call with degenerate u
# sigilless variables/constants
# RT #128462
# XXX alter this first test not to say in errata.
eval-lives-ok 'my \term = 42; say term\ .Str; term == 42 or die;',
eval-lives-ok 'my \term = 42; uc term\ .Str; term == 42 or die;',
'unspace with method calls detached from sigiless terms works';
eval-lives-ok 'my \term = [1,2]; my $v = term\ [1]; $v == 2 or die;',
'unspace with array subscript detached from sigiless terms works';
Expand Down

0 comments on commit 1a4d8c0

Please sign in to comment.