diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-22 12:52:18 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-22 12:52:18 +0000 |
commit | 27ddbc597231c70467f2ced4f6e60f44bae6468a (patch) | |
tree | 016012be71e6033942cd2716b7cbe22512b9bab7 /test/ruby | |
parent | 75431b924cffd2731372c7ef06349b492faa601c (diff) | |
download | ruby-27ddbc597231c70467f2ced4f6e60f44bae6468a.tar.gz |
* include/ruby/defines.h (CASEFOLD_FILESYSTEM): Revert r30508. See #4255.
Now __APPLE__ is not CASEFOLD_FILESYSTEM again.
* load.c (loaded_feature_path, rb_feature_p, load_lock): Revert r30508.
See #4255. Make $LOADED_FEATURES scanning case-sensitive again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_require.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/ruby/test_require.rb b/test/ruby/test_require.rb index d2ee9df30c..96b1551da2 100644 --- a/test/ruby/test_require.rb +++ b/test/ruby/test_require.rb @@ -339,20 +339,4 @@ class TestRequire < Test::Unit::TestCase [], /\$LOADED_FEATURES is frozen; cannot append feature \(RuntimeError\)$/, bug3756) end - - def test_case_insensitive - load_path = $:.dup - loaded = $".dup - path = File.expand_path(__FILE__) - $:.unshift(File.dirname(path)) - $".push(path) unless $".include?(path) - bug4255 = '[ruby-core:34297]' - assert_equal(false, $bug4255 ||= false, bug4255) - $bug4255 = true - f = File.basename(__FILE__, ".*").upcase - assert_equal(false, require(f)) - ensure - $:.replace(load_path) - $".replace(loaded) - end if File.identical?(__FILE__, __FILE__.upcase) end |