summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-03-07 20:16:37 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-03-27 10:10:44 +0900
commit5703ff2ae6e2aded251b95e9a6c19a8307b1165a (patch)
treed9c1b509e635efdb90a46e4341cca28258362ce0 /test
parent7cd133d7a0068d084371a0e3a60852a66285d38a (diff)
downloadpsych-5703ff2ae6e2aded251b95e9a6c19a8307b1165a.zip
Removed Psyych.detect_implicit.
Diffstat (limited to 'test')
-rw-r--r--test/psych/test_deprecated.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/psych/test_deprecated.rb b/test/psych/test_deprecated.rb
index c2db0c5..96e794d 100644
--- a/test/psych/test_deprecated.rb
+++ b/test/psych/test_deprecated.rb
@@ -134,14 +134,6 @@ module Psych
assert_equal [["tag:ruby.yaml.org,2002:foo", "bar"]], types
end
- def test_detect_implicit
- assert_equal '', Psych.detect_implicit(nil)
- assert_equal '', Psych.detect_implicit(Object.new)
- assert_equal '', Psych.detect_implicit(1.2)
- assert_equal 'null', Psych.detect_implicit('')
- assert_equal 'string', Psych.detect_implicit('foo')
- end
-
def test_private_type
types = []
Psych.add_private_type('foo') { |*args| types << args }