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.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb
index 2442422f64..692d36ec8b 100644
--- a/test/rubygems/helper.rb
+++ b/test/rubygems/helper.rb
@@ -1176,6 +1176,20 @@ Also, a list:
end
##
+ # Is this test being run on a version of Ruby built with mingw?
+
+ def self.mingw_windows?
+ RUBY_PLATFORM.match("mingw")
+ end
+
+ ##
+ # Is this test being run on a version of Ruby built with mingw?
+
+ def mingw_windows?
+ RUBY_PLATFORM.match("mingw")
+ end
+
+ ##
# Is this test being run on a ruby/ruby repository?
#