Skip to content

Commit

Permalink
Remove expected trailing whitespace
Browse files Browse the repository at this point in the history
Looks like the problem fixed by 7d02b94 was actually tested for
  • Loading branch information
lizmat committed Oct 12, 2018
1 parent 7d02b94 commit 9894eda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/05-messages/01-errors.t
Expand Up @@ -69,7 +69,7 @@ throws-like 「m: my @a = for 1..3 <-> { $_ }」, Exception,
# RT #113954
{
is-run multi MAIN(q|foo bar|) {},
:err(qq|Usage:\n -e '...' 'foo bar' \n|),
:err(qq|Usage:\n -e '...' 'foo bar'\n|),
:exitcode(*),
'a space in a literal param to a MAIN() multi makes the suggestion quoted';

Expand All @@ -78,13 +78,13 @@ throws-like 「m: my @a = for 1..3 <-> { $_ }」, Exception,
}
else {
is-run multi MAIN(q|foo"bar|) {},
:err(qq|Usage:\n -e '...' 'foo"bar' \n|),
:err(qq|Usage:\n -e '...' 'foo"bar'\n|),
:exitcode(*),
'a double qoute in a literal param to a MAIN() multi makes the suggestion quoted';
}

is-run multi MAIN(q|foo'bar|) {},
:err(qq|Usage:\n -e '...' 'foo'"'"'bar' \n|),
:err(qq|Usage:\n -e '...' 'foo'"'"'bar'\n|),
:exitcode(*),
'a single qoute in a literal param to a MAIN() multi makes the suggestion quoted';
}
Expand Down

0 comments on commit 9894eda

Please sign in to comment.