diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-05 13:16:32 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-05 13:16:32 +0000 |
commit | 6d77e28763ed17f75edf3b4072701b4dbd7644bb (patch) | |
tree | e56f68d61222a1cf4bfc6a63aa640c6546a41b91 /test/psych/test_psych.rb | |
parent | 4389ba641f89fe9d4e5c575442968d385c4183e8 (diff) |
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
Diffstat (limited to 'test/psych/test_psych.rb')
-rw-r--r-- | test/psych/test_psych.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/psych/test_psych.rb b/test/psych/test_psych.rb index 0e769274fd..24030d55bc 100644 --- a/test/psych/test_psych.rb +++ b/test/psych/test_psych.rb @@ -98,8 +98,8 @@ class TestPsych < Psych::TestCase assert_equal Psych.libyaml_version.join('.'), Psych::LIBYAML_VERSION end - def test_load_documents - docs = Psych.load_documents("--- foo\n...\n--- bar\n...") + def test_load_stream + docs = Psych.load_stream("--- foo\n...\n--- bar\n...") assert_equal %w{ foo bar }, docs end |