aboutsummaryrefslogtreecommitdiffstats
path: root/test/rdoc/test_rdoc_markup_pre_process.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-28 02:28:25 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-28 02:28:25 +0000
commit84ece951630c61eddab8be47b80fc1a7f774175f (patch)
treec843f17ba485f0263f39d797d8a3b1517d1ddb8b /test/rdoc/test_rdoc_markup_pre_process.rb
parent41ab31e67a747e5db91a7ef4502a54cdf0525163 (diff)
downloadruby-84ece951630c61eddab8be47b80fc1a7f774175f.tar.gz
* lib/rdoc: Update to RDoc 3.7 (final)
* NEWS: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc/test_rdoc_markup_pre_process.rb')
-rw-r--r--test/rdoc/test_rdoc_markup_pre_process.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rdoc/test_rdoc_markup_pre_process.rb b/test/rdoc/test_rdoc_markup_pre_process.rb
index db5fca5ac1..587a680f28 100644
--- a/test/rdoc/test_rdoc_markup_pre_process.rb
+++ b/test/rdoc/test_rdoc_markup_pre_process.rb
@@ -43,7 +43,7 @@ contents of a string.
# 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/
+ RUBY_VERSION < "1.9.3" && RUBY_PLATFORM =~ /mswin|mingw/
assert_equal expected, content
end
@@ -67,7 +67,7 @@ contents of a string.
# 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/
+ RUBY_VERSION < "1.9.3" && RUBY_PLATFORM =~ /mswin|mingw/
assert_equal expected, content
end