diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/psych/test_nil.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/psych/test_nil.rb b/test/psych/test_nil.rb index f3d9c5e..4f32b77 100644 --- a/test/psych/test_nil.rb +++ b/test/psych/test_nil.rb @@ -4,8 +4,8 @@ module Psych class TestNil < TestCase def test_nil yml = Psych.dump nil - assert_match /--- \n(?:\.\.\.\n)?/, yml - assert_equal nil, Psych.load(yml) + assert_match(/--- \n(?:\.\.\.\n)?/, yml) + assert_nil Psych.load(yml) end def test_array_nil |