mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3c9e6c7abb
commit
f4e499de6c
2 changed files with 7 additions and 10 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
Mon Jun 6 14:35:48 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* 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@ruby-lang.org>
|
Mon Jun 6 14:11:11 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* ext/date/date_core.c (valid_jd_sub): need to convert from VALUE to
|
* ext/date/date_core.c (valid_jd_sub): need to convert from VALUE to
|
||||||
|
|
|
@ -40,11 +40,6 @@ Regular expressions (<i>regexp</i>s) are patterns which describe the
|
||||||
contents of a string.
|
contents of a string.
|
||||||
EXPECTED
|
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
|
assert_equal expected, content
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -64,11 +59,6 @@ contents of a string.
|
||||||
|
|
||||||
expected = "?\n"
|
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
|
assert_equal expected, content
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue