summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2015-06-29 16:34:45 +0100
committerAaron Crane <arc@cpan.org>2015-07-15 14:25:05 +0100
commit3e3bbb9b3cd1149bba698cb5d92fa3150db92d89 (patch)
tree1025da3fea97cb652fd859c9333ab30c1953f8dd
parent0b8e484270e7477903f4a13f1bea68e427a03c70 (diff)
downloadperl-3e3bbb9b3cd1149bba698cb5d92fa3150db92d89.tar.gz
t/op/sprintf.t: include test comment in "ok" output, where available
-rw-r--r--t/op/sprintf.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/sprintf.t b/t/op/sprintf.t
index 967b5d378f..c927a94d67 100644
--- a/t/op/sprintf.t
+++ b/t/op/sprintf.t
@@ -126,7 +126,7 @@ for (@tests) {
}
if ($x eq ">$result<") {
- ok(1, ">$result<");
+ ok(1, join ' ', grep length, ">$result<", $comment);
}
elsif ($skip) {
ok(1, "skip $comment");