summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-24 01:04:55 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-24 01:04:55 +0000
commit07311e56e20d6bcbd6272a8568468c91207c6203 (patch)
treee8a371bdee51c71a5ce15966adbf58bde7b25d20 /test
parent7668e5aa9d6629e0744bd734a2f252ea104b9d02 (diff)
* test/psych/test_yaml.rb: clearing domain types on teardown
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/psych/test_yaml.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/psych/test_yaml.rb b/test/psych/test_yaml.rb
index f1fa7f9c3d..45cd39d676 100644
--- a/test/psych/test_yaml.rb
+++ b/test/psych/test_yaml.rb
@@ -10,6 +10,9 @@ module Psych_Tests
end
class Psych_Unit_Tests < Psych::TestCase
+ def teardown
+ Psych.domain_types.clear
+ end
#
# Tests modified from 00basic.t in Psych.pm
#