diff options
Diffstat (limited to 'test/json')
-rwxr-xr-x | test/json/test_json.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/json/test_json.rb b/test/json/test_json.rb index 6af6b32208..462650e861 100755 --- a/test/json/test_json.rb +++ b/test/json/test_json.rb @@ -491,6 +491,8 @@ EOT assert_equal @hash, JSON.load(stringio) assert_equal nil, JSON.load(nil) assert_equal nil, JSON.load('') + ensure + tempfile.close! end def test_load_with_options |