From ba1cd56ffa66ea9186d024c5126896746454428a Mon Sep 17 00:00:00 2001 From: Hiroshi Mimaki Date: Mon, 3 Jul 2017 16:01:01 +0900 Subject: Fixed an unit test to work on Cygwin. --- test/bintest.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/bintest.rb b/test/bintest.rb index 8f56cc0ad..12971a9d9 100644 --- a/test/bintest.rb +++ b/test/bintest.rb @@ -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 -- cgit v1.2.3