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:
parent
f2bd0ce993
commit
6b3feab965
1 changed files with 1 additions and 8 deletions
|
@ -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
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue