diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_json.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_json.rb b/tests/test_json.rb index 40774b3..c308933 100755 --- a/tests/test_json.rb +++ b/tests/test_json.rb @@ -427,6 +427,7 @@ EOT stringio.rewind assert_equal @hash, JSON.load(stringio) assert_equal nil, JSON.load(nil) + assert_equal nil, JSON.load('') end def test_dump |