Skip to content

Commit

Permalink
Fix fd leak
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed May 16, 2019
1 parent fadab0f commit 18e43e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rubygems/test_gem_specification.rb
Expand Up @@ -2898,7 +2898,7 @@ def test_validate_executables
util_setup_validate

FileUtils.mkdir_p File.join(@tempdir, 'bin')
File.open File.join(@tempdir, 'bin', 'exec'), 'w'
File.write File.join(@tempdir, 'bin', 'exec'), ''
FileUtils.mkdir_p File.join(@tempdir, 'exec')

use_ui @ui do
Expand Down

0 comments on commit 18e43e8

Please sign in to comment.