Permalink
Browse files

avoid ruby warnings

  • Loading branch information...
1 parent 4e0e8da commit 75159207c2349447e4de65a529f3187f3354cf1f @tenderlove tenderlove committed Jun 21, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit 7515920

Please sign in to comment.