From 07311e56e20d6bcbd6272a8568468c91207c6203 Mon Sep 17 00:00:00 2001 From: tenderlove Date: Sat, 24 Apr 2010 01:04:55 +0000 Subject: [PATCH] * 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 --- test/psych/test_yaml.rb | 3 +++ 1 file changed, 3 insertions(+) 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 #