Fixed an unit test to work on Cygwin.
@@ -3,7 +3,7 @@ require 'test/assert.rb'
def cmd(s)
case RbConfig::CONFIG['host_os']
- when /mswin(?!ce)|mingw|cygwin|bccwin/
+ when /mswin(?!ce)|mingw|bccwin/
"bin\\#{s}.exe"
else
"bin/#{s}"
@@ -12,7 +12,7 @@ end
def shellquote(s)
case RbConfig::CONFIG['host_os']
- when /mswin(?!ce)|mingw|cygwin|bccwin/
+ when /mswin(?!ce)|mingw|bccwin/
"\"#{s}\""
else
"'#{s}'"
@@ -21,7 +21,7 @@ end
ARGV.each do |gem|
case RbConfig::CONFIG['host_os']
- when /mswin(?!ce)|mingw|cygwin|bccwin/
+ when /mswin(?!ce)|mingw|bccwin/
gem = gem.gsub('\\', '/')
end
