[前][次][番号順一覧][スレッド一覧]

ruby-changes:15562

From: tenderlove <ko1@a...>
Date: Sat, 24 Apr 2010 10:13:19 +0900 (JST)
Subject: [ruby-changes:15562] Ruby:r27467 (trunk): * test/psych/test_yaml.rb: clearing domain types on teardown

tenderlove	2010-04-24 10:04:55 +0900 (Sat, 24 Apr 2010)

  New Revision: 27467

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27467

  Log:
    * test/psych/test_yaml.rb: clearing domain types on teardown

  Modified files:
    trunk/test/psych/test_yaml.rb

Index: test/psych/test_yaml.rb
===================================================================
--- test/psych/test_yaml.rb	(revision 27466)
+++ test/psych/test_yaml.rb	(revision 27467)
@@ -10,6 +10,9 @@
 end
 
 class Psych_Unit_Tests < Psych::TestCase
+    def teardown
+        Psych.domain_types.clear
+    end
 	#
 	# Tests modified from 00basic.t in Psych.pm
 	#

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]