summaryrefslogtreecommitdiff
path: root/t/comp/require.t
diff options
context:
space:
mode:
Diffstat (limited to 't/comp/require.t')
-rwxr-xr-xt/comp/require.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/comp/require.t b/t/comp/require.t
index 103a579235..ea4b96d20b 100755
--- a/t/comp/require.t
+++ b/t/comp/require.t
@@ -27,7 +27,7 @@ sub write_file {
binmode REQ;
use bytes;
print REQ @_;
- close REQ;
+ close REQ or die "Could not close $f: $!";
}
eval {require 5.005};