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

ruby-changes:34095

From: kou <ko1@a...>
Date: Tue, 27 May 2014 22:16:11 +0900 (JST)
Subject: [ruby-changes:34095] kou:r46176 (trunk): * test/rexml/test_document.rb: Wrap by REXMLTests module.

kou	2014-05-27 22:15:58 +0900 (Tue, 27 May 2014)

  New Revision: 46176

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

  Log:
    * test/rexml/test_document.rb: Wrap by REXMLTests module.

  Modified files:
    trunk/ChangeLog
    trunk/test/rexml/test_document.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 46175)
+++ ChangeLog	(revision 46176)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue May 27 22:15:29 2014  Kouhei Sutou  <kou@c...>
+
+	* test/rexml/test_document.rb: Wrap by REXMLTests module.
+
 Tue May 27 22:11:10 2014  Kouhei Sutou  <kou@c...>
 
 	* test/rexml/test_encoding_2.rb: Remove a needless file.
Index: test/rexml/test_document.rb
===================================================================
--- test/rexml/test_document.rb	(revision 46175)
+++ test/rexml/test_document.rb	(revision 46176)
@@ -3,7 +3,8 @@ https://github.com/ruby/ruby/blob/trunk/test/rexml/test_document.rb#L3
 require "rexml/document"
 require "test/unit"
 
-class REXML::TestDocument < Test::Unit::TestCase
+module REXMLTests
+class TestDocument < Test::Unit::TestCase
   def test_version_attributes_to_s
     doc = REXML::Document.new(<<-eoxml)
       <?xml version="1.0" encoding="UTF-8" standalone="no"?>
@@ -317,3 +318,4 @@ EOX https://github.com/ruby/ruby/blob/trunk/test/rexml/test_document.rb#L318
     end
   end
 end
+end

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

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