Skip to content
Permalink
Browse files

Remove expected trailing whitespace

Looks like the problem fixed by 7d02b94 was actually tested for
  • Loading branch information...
lizmat committed Oct 12, 2018
1 parent 7d02b94 commit 9894eda5b568876744263a7b4e2183ec05a93de6
Showing with 3 additions and 3 deletions.
  1. +3 −3 t/05-messages/01-errors.t
@@ -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';

@@ -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';
}

0 comments on commit 9894eda

Please sign in to comment.
You can’t perform that action at this time.