Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ok(1,"foo\nbar") now print out

ok 1 - foo
#bar
  • Loading branch information...
commit df055f428bbe5ce1b7676a189190768e9a0e39f6 1 parent 651458b
@pmurias pmurias authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Test.pm6
View
2  lib/Test.pm6
@@ -32,7 +32,7 @@ class Builder {
method ok($bool, $tag) {
my $not = $bool ?? "" !! "not ";
- self!output($not ~ "ok " ~ $.current-test++ ~ " - " ~ $tag);
+ self!output($not ~ "ok " ~ $.current-test++ ~ " - " ~ $tag.split("\n").join("\n#"));
if !$bool { self.note(self.blame); }
}
Please sign in to comment.
Something went wrong with that request. Please try again.