Skip to content

Commit 365c861

Browse files
committed
Improve error message on failing test.
1 parent 24ac01e commit 365c861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/moar/02-qast-references.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sub is_qast($qast, $value, $desc) {
1313
my $code := compile_qast($qast);
1414
my $result := $code();
1515
ok($result eq $value, $desc);
16-
CATCH { ok(0, $desc ~ $!) }
16+
CATCH { ok(0, $desc ~ ': ' ~ $!) }
1717
}
1818
}
1919

0 commit comments

Comments
 (0)