Skip to content

Commit d12c47b

Browse files
committed
Fix a test
1 parent 6931582 commit d12c47b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

t/pod-convenience.t

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ subtest {
2828
is($pod.name, "pod", "block name correct");
2929
# XXX: why do we have to dig so far to get to the title here?
3030
is($pod.contents[0].contents[0].contents[0], "title text", "title matches input");
31-
# XXX: what to do when $got is Nil in Test.pm?
32-
# XXX: this next line gives a warning, however should probably handle
33-
# situation more robustly
34-
is($pod.contents[1], Nil, "empty blocks argument gives Nil content");
31+
nok($pod.contents[1].defined, "empty blocks argument gives undefined content");
3532

3633
$pod = pod-with-title("title text", "block text");
3734
is($pod.contents[1], "block text", "simple block text matches input");

0 commit comments

Comments
 (0)