Permalink
Browse files

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

ok 1 - foo
#bar
  • Loading branch information...
1 parent 651458b commit df055f428bbe5ce1b7676a189190768e9a0e39f6 @pmurias pmurias committed Dec 27, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Test.pm6
View
@@ -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); }
}

0 comments on commit df055f4

Please sign in to comment.