Skip to content

Commit 7521f5c

Browse files
committed
update nil decode test to reflect current multijson behavior
1 parent 1851fd6 commit 7521f5c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/json_decode_test.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def test_decode_hash
1515
end
1616

1717
def test_decode_with_nil
18-
assert_raises(Fog::JSON::DecodeError) { Fog::JSON.decode(nil) }
18+
@expected = nil
19+
assert_equal @expected, Fog::JSON.decode(nil)
1920
end
2021
end

0 commit comments

Comments
 (0)