X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcomp%2Fmultiline.t;h=78820c4e92b65a2c7a8d203b1835eba2e41eb1bf;hb=137d6fc09ef3595c225f4474cf527a89e2099776;hp=742ba4965d92a8ff1bfc603f4785a9a01ac87fee;hpb=7bbfeec91477c8c19c04cbe45cf176673150c40e;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/comp/multiline.t b/t/comp/multiline.t index 742ba49..78820c4 100755 --- a/t/comp/multiline.t +++ b/t/comp/multiline.t @@ -26,7 +26,7 @@ $y = 'now is the time' . "\n" . is($x, $y, 'test data is sane'); print TRY $x; -close TRY; +close TRY or die "Could not close: $!"; open(TRY,'Comp.try') || (die "Can't reopen temp file."); $count = 0;