We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6931582 commit d12c47bCopy full SHA for d12c47b
t/pod-convenience.t
@@ -28,10 +28,7 @@ subtest {
28
is($pod.name, "pod", "block name correct");
29
# XXX: why do we have to dig so far to get to the title here?
30
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");
+ nok($pod.contents[1].defined, "empty blocks argument gives undefined content");
35
36
$pod = pod-with-title("title text", "block text");
37
is($pod.contents[1], "block text", "simple block text matches input");
0 commit comments