mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02: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
|
@ -40,11 +40,6 @@ Regular expressions (<i>regexp</i>s) are patterns which describe the
|
|||
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 @@ contents of a string.
|
|||
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue