Skip to content

Commit

Permalink
Skip heredoc warning message test on windows
Browse files Browse the repository at this point in the history
is-run test routine doesn't quite work on Windows because of RT#132258
https://rt.perl.org/Ticket/Display.html?id=132258
  • Loading branch information
zoffixznet committed Jul 30, 2018
1 parent 1f27a19 commit c978050
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions t/05-messages/03-errors.t
Expand Up @@ -159,7 +159,12 @@ subtest 'numeric backslash errors do not get accompanied by confusing others' =>
}

# RT #129838
is-run "my \$x = q:to/END/;\ny\n END", :err{ not .contains('Actions.nqp') },
'heredoc trimming warnings do not reference guts';
if $*DISTRO.is-win {
skip is-run() routine doesn't quite work right on Windows: RT#132258;
}
else {
is-run "my \$x = q:to/END/;\ny\n END", :err{ not .contains('Actions.nqp') },
'heredoc trimming warnings do not reference guts';
}

# vim: ft=perl6 expandtab sw=4

0 comments on commit c978050

Please sign in to comment.