summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-21 18:04:41 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-21 18:04:41 +0000
commit7c5fdec05da5a6ba0a77224e241639d49a205a6c (patch)
treeee61910a65d4df15e9f981037a3a1c5e67f7eb5b /test
parent800c313bde129b5e54d41abd478e1be6dab63016 (diff)
downloadbundler-7c5fdec05da5a6ba0a77224e241639d49a205a6c.tar.gz
fix ambiguous argument warnings in test/psych/test_nil.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/psych/test_nil.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/psych/test_nil.rb b/test/psych/test_nil.rb
index f3d9c5e8d8..4f32b7703b 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