From 6d77e28763ed17f75edf3b4072701b4dbd7644bb Mon Sep 17 00:00:00 2001 From: hsbt Date: Wed, 5 Apr 2017 13:16:32 +0000 Subject: Import psych-3.0.0.beta1 from ruby/psych. * Removed deprecated code. * Removed code related syck gem. * Fixed typos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/psych/visitors/test_yaml_tree.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/psych/visitors/test_yaml_tree.rb') diff --git a/test/psych/visitors/test_yaml_tree.rb b/test/psych/visitors/test_yaml_tree.rb index 5755f5863e..ea38f6d6d4 100644 --- a/test/psych/visitors/test_yaml_tree.rb +++ b/test/psych/visitors/test_yaml_tree.rb @@ -165,10 +165,10 @@ module Psych # http://yaml.org/type/null.html def test_nil assert_cycle nil - assert_equal nil, Psych.load('null') - assert_equal nil, Psych.load('Null') - assert_equal nil, Psych.load('NULL') - assert_equal nil, Psych.load('~') + assert_nil Psych.load('null') + assert_nil Psych.load('Null') + assert_nil Psych.load('NULL') + assert_nil Psych.load('~') assert_equal({'foo' => nil}, Psych.load('foo: ')) assert_cycle 'null' -- cgit v1.2.3