1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove assertion which depends the load order

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-09-07 10:36:11 +00:00
parent f2bd0ce993
commit 6b3feab965

View file

@ -2,6 +2,7 @@ require 'minitest/autorun'
require 'stringio' require 'stringio'
require 'tempfile' require 'tempfile'
require 'date' require 'date'
require 'psych'
module Psych module Psych
class TestCase < MiniTest::Unit::TestCase class TestCase < MiniTest::Unit::TestCase
@ -53,11 +54,3 @@ module Psych
end end
end end
end end
require 'psych'
# FIXME: remove this when syck is removed
o = Object.new
a = o.method(:psych_to_yaml)
b = o.method(:to_yaml)
raise "psych should define to_yaml" unless a == b