summaryrefslogtreecommitdiff
path: root/test/rubygems/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/helper.rb')
-rw-r--r--test/rubygems/helper.rb16
1 files changed, 1 insertions, 15 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb
index a7f7bafc24..4629a74040 100644
--- a/test/rubygems/helper.rb
+++ b/test/rubygems/helper.rb
@@ -414,7 +414,7 @@ class Gem::TestCase < Test::Unit::TestCase
@orig_arch = RbConfig::CONFIG["arch"]
- if win_platform?
+ if Gem.win_platform?
util_set_arch "i386-mswin32"
else
util_set_arch "i686-darwin8.10.1"
@@ -1132,20 +1132,6 @@ Also, a list:
end
##
- # Is this test being run on a Windows platform?
-
- def self.win_platform?
- Gem.win_platform?
- end
-
- ##
- # see ::win_platform?
-
- def win_platform?
- self.class.win_platform?
- end
-
- ##
# Returns whether or not we're on a version of Ruby built with VC++ (or
# Borland) versus Cygwin, Mingw, etc.