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

ruby-changes:19890

From: usa <ko1@a...>
Date: Mon, 6 Jun 2011 14:38:19 +0900 (JST)
Subject: [ruby-changes:19890] usa:r31937 (trunk): * test/rdoc/test_rdoc_markup_pre_process.rb (TestRDocMarkupPreProcess#

usa	2011-06-06 14:38:11 +0900 (Mon, 06 Jun 2011)

  New Revision: 31937

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

  Log:
    * test/rdoc/test_rdoc_markup_pre_process.rb (TestRDocMarkupPreProcess#
      {test_include_file,test_include_file_encoding_incompatible}): no
      need to write such workaround.  don't hide the bug of ruby (and the
      bug is already fixed).

  Modified files:
    trunk/ChangeLog
    trunk/test/rdoc/test_rdoc_markup_pre_process.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 31936)
+++ ChangeLog	(revision 31937)
@@ -1,3 +1,10 @@
+Mon Jun  6 14:35:48 2011  NAKAMURA Usaku  <usa@r...>
+
+	* test/rdoc/test_rdoc_markup_pre_process.rb (TestRDocMarkupPreProcess#
+	  {test_include_file,test_include_file_encoding_incompatible}): no
+	  need to write such workaround.  don't hide the bug of ruby (and the
+	  bug is already fixed)
+
 Mon Jun  6 14:11:11 2011  NAKAMURA Usaku  <usa@r...>
 
 	* ext/date/date_core.c (valid_jd_sub): need to convert from VALUE to
Index: test/rdoc/test_rdoc_markup_pre_process.rb
===================================================================
--- test/rdoc/test_rdoc_markup_pre_process.rb	(revision 31936)
+++ test/rdoc/test_rdoc_markup_pre_process.rb	(revision 31937)
@@ -40,11 +40,6 @@
 contents of a string.
     EXPECTED
 
-    # FIXME 1.9 fix on windoze
-    # preprocessor uses binread, so line endings are \r\n
-    expected.gsub!("\n", "\r\n") if
-      RUBY_VERSION =~ /^1.9/ && RUBY_PLATFORM =~ /mswin|mingw/
-
     assert_equal expected, content
   end
 
@@ -64,11 +59,6 @@
 
     expected = "?\n"
 
-    # FIXME 1.9 fix on windoze
-    # preprocessor uses binread, so line endings are \r\n
-    expected.gsub!("\n", "\r\n") if
-      RUBY_VERSION =~ /^1.9/ && RUBY_PLATFORM =~ /mswin|mingw/
-
     assert_equal expected, content
   end
 

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

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