diff options
| author | Hiroshi Mimaki <[email protected]> | 2017-07-03 16:01:01 +0900 |
|---|---|---|
| committer | Hiroshi Mimaki <[email protected]> | 2017-07-03 16:01:01 +0900 |
| commit | ba1cd56ffa66ea9186d024c5126896746454428a (patch) | |
| tree | 56c562fac7257eafb4420c4a136ac02223a9a7c9 /test | |
| parent | 0de7eec628d5751ae4ca99c3f10f6f31bf3d985c (diff) | |
| download | mruby-ba1cd56ffa66ea9186d024c5126896746454428a.tar.gz mruby-ba1cd56ffa66ea9186d024c5126896746454428a.zip | |
Fixed an unit test to work on Cygwin.
Diffstat (limited to 'test')
| -rw-r--r-- | test/bintest.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
