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

ruby-changes:36357

From: kou <ko1@a...>
Date: Sat, 15 Nov 2014 20:10:17 +0900 (JST)
Subject: [ruby-changes:36357] kou:r48438 (trunk): * test/rexml/test_document.rb (REXMLTests::TestDocument::BomTest):

kou	2014-11-15 20:09:57 +0900 (Sat, 15 Nov 2014)

  New Revision: 48438

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

  Log:
    * test/rexml/test_document.rb (REXMLTests::TestDocument::BomTest):
      Fix wrong parent class. It doesn't need inherit tests in
      TestDocument class.

  Modified files:
    trunk/ChangeLog
    trunk/test/rexml/test_document.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48437)
+++ ChangeLog	(revision 48438)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Nov 15 20:09:00 2014  Kouhei Sutou  <kou@c...>
+
+	* test/rexml/test_document.rb (REXMLTests::TestDocument::BomTest):
+	  Fix wrong parent class. It doesn't need inherit tests in
+	  TestDocument class.
+
 Sat Nov 15 19:48:59 2014  NAKAMURA Usaku  <usa@r...>
 
 	* lib/mkmf.rb (depend_rules): support comments during a line.
Index: test/rexml/test_document.rb
===================================================================
--- test/rexml/test_document.rb	(revision 48437)
+++ test/rexml/test_document.rb	(revision 48438)
@@ -311,7 +311,7 @@ EOX https://github.com/ruby/ruby/blob/trunk/test/rexml/test_document.rb#L311
       end
     end
 
-    class BomTest < self
+    class BomTest < Test::Unit::TestCase
       class HaveEncodingTest < self
         def test_utf_8
           xml = <<-EOX.force_encoding("ASCII-8BIT")

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

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