1 use t::BaseTest tests => 4;
3 my $file = 't/output/foo.txt';
5 ok not(-e $file), "$file doesn't already exist";
9 ok -e $file, "$file exists";
12 or die "Can't open '$file' for input:\n$!";
14 "One two\nBuckle my shoe\n",
15 '$file content is right';
17 is first_block->poem, $file, 'Returns file name';
22 --- poem write_file=t/output/foo.txt