Skip to content

Commit 7bc502f

Browse files
committed
t/run/todo.t: Make 2 test names more accurate
These specify more precisely what the failed condition means
1 parent c1fadac commit 7bc502f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/run/todo.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ TODO: {
4646
$h->truncate(6) or die $!;
4747
print $x;
4848
EOF
49-
is($?, 0, 'No assertion failure');
49+
is($?, 0, 'perl exited normally');
5050

5151
is $results, 'hello ', "truncate returned the expected output";
5252
unlike $results, qr/Bad file descriptor/, "truncate did not warn about bad file descriptors";
@@ -83,7 +83,7 @@ TODO: {
8383
local $::TODO = 'GH 16971';
8484
fresh_perl('split(/00|0\G/, "000")',
8585
{ stderr => 'devnull' });
86-
is($?, 0, "No assertion failure");
86+
is($?, 0, "No panic");
8787
}
8888

8989
TODO: {

0 commit comments

Comments
 (0)