Skip to content

Commit 5f316f5

Browse files
committed
fix to use assert_nil for decode test
1 parent 7521f5c commit 5f316f5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/json_decode_test.rb

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

1717
def test_decode_with_nil
18-
@expected = nil
19-
assert_equal @expected, Fog::JSON.decode(nil)
18+
assert_nil Fog::JSON.decode(nil)
2019
end
2120
end

0 commit comments

Comments
 (0)