Skip to content

Commit

Permalink
merging from ruby trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Oct 22, 2012
1 parent 450f3b0 commit 851de5c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/psych/test_engine_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

module Psych
class TestEngineManager < TestCase
def teardown
YAML::ENGINE.yamler = 'syck'
end

def test_bad_engine
assert_raises(ArgumentError) do
YAML::ENGINE.yamler = 'foooo'
Expand All @@ -19,18 +15,6 @@ def test_set_psych
assert_equal 'psych', YAML::ENGINE.yamler
end

def test_set_syck
YAML::ENGINE.yamler = 'syck'
assert_equal ::Syck, YAML
assert_equal 'syck', YAML::ENGINE.yamler
rescue NameError => e
if e.name == :Syck then
skip 'syck has been removed'
else
raise
end
end

A = Struct.new(:name)

def test_dump_types
Expand Down

0 comments on commit 851de5c

Please sign in to comment.