mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_encoding.rb (test_find): mingw is not Unix, of course.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a1b8cacd0f
commit
b31c817782
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class TestEncoding < Test::Unit::TestCase
|
|||
assert_nothing_raised{Encoding.find("locale")}
|
||||
assert_nothing_raised{Encoding.find("filesystem")}
|
||||
|
||||
if /(?:ms|dar)win/ !~ RUBY_PLATFORM
|
||||
if /(?:ms|dar)win|mingw/ !~ RUBY_PLATFORM
|
||||
# Unix's filesystem encoding is default_external
|
||||
assert_ruby_status(%w[-EUTF-8:EUC-JP], <<-'EOS')
|
||||
exit Encoding.find("filesystem") == Encoding::UTF_8
|
||||
|
|
Loading…
Reference in a new issue