diff options
Diffstat (limited to 't/comp/require.t')
-rwxr-xr-x | t/comp/require.t | 2 |
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}; |