From b31c817782531fa0f3657af692e4a83b5f30f068 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 3 Sep 2011 04:49:43 +0000 Subject: * 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 --- test/ruby/test_encoding.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_encoding.rb') diff --git a/test/ruby/test_encoding.rb b/test/ruby/test_encoding.rb index c1c50a5dfa..6a406ae237 100644 --- a/test/ruby/test_encoding.rb +++ b/test/ruby/test_encoding.rb @@ -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 -- cgit v1.2.3