Skip to content

Commit 423cc68

Browse files
committed
Test skip() correctly prints skip TAP instruction
Rakudo fix: rakudo/rakudo@eb529f1495
1 parent 85edce2 commit 423cc68

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

S24-testing/3-output.t

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use lib 't/spec/packages';
77
use Test;
88
use Test::Util;
99

10-
plan 5;
10+
plan 6;
1111

1212
# RT #115024
1313
{
@@ -57,4 +57,15 @@ is_run 「
5757
~ " # bass\n # miss\n # biss\n 1..1\nok 2 - meow\n") },
5858
'descriptions with newlines get escaped from TAP with `#` at start of line';
5959

60+
# https://irclog.perlgeek.de/perl6/2017-08-18#i_15038473
61+
is_run
62+
use Test;
63+
plan 2;
64+
skip "meow # moo", 1;
65+
skip 1;
66+
,
67+
{ :err(''), :0status, :out("1..2\nok 1 - # SKIP meow \\# moo"
68+
~ "\nok 2 - # SKIP 1\n") },
69+
'skip() escapes `#` but not the `#` of SKIP marker itself';
70+
6071
# vim: expandtab shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)