Skip to content

Commit

Permalink
Merge pull request Dual-Life#54 from nthykier/rt-96609
Browse files Browse the repository at this point in the history
in truncate.t, close $tmpfile before opening again
  • Loading branch information
pjf committed Oct 4, 2014
2 parents c54e15f + 193d864 commit a95dc44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/truncate.t
Expand Up @@ -62,6 +62,8 @@ eval {

is($@, "", "Truncating a normal file should be fine");

$tmpfh->close;

# Time to test truncating via globs.

# Firstly, truncating a closed filehandle should fail.
Expand Down

0 comments on commit a95dc44

Please sign in to comment.