summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-03-10 11:06:15 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-03-27 10:10:44 +0900
commit3f3da6561bdc73714060519a5c505c6d39391851 (patch)
treec39b7d048f5d718bba268886e40cf3bae24c0405 /test
parent4ad0834639b054f5b7143484cf35057736d44b46 (diff)
downloadpsych-3f3da6561bdc73714060519a5c505c6d39391851.zip
Remove Psych.add_private_type
Diffstat (limited to 'test')
-rw-r--r--test/psych/test_deprecated.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/psych/test_deprecated.rb b/test/psych/test_deprecated.rb
index abb6cae..1cfaab4 100644
--- a/test/psych/test_deprecated.rb
+++ b/test/psych/test_deprecated.rb
@@ -122,16 +122,6 @@ module Psych
assert_match(/helloworld/, Psych.dump(YamlAs.new))
end
- def test_private_type
- types = []
- Psych.add_private_type('foo') { |*args| types << args }
- Psych.load <<-eoyml
-- !x-private:foo bar
- eoyml
-
- assert_equal [["x-private:foo", "bar"]], types
- end
-
def test_tagurize
assert_nil Psych.tagurize nil
assert_equal Psych, Psych.tagurize(Psych)