diff options
-rw-r--r-- | test/ruby/test_process.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 55cb15d4b5..274492674f 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -433,7 +433,7 @@ class TestProcess < Test::Unit::TestCase assert_file.not_exist?("テスト/open_chdir_テスト") assert_equal("#{d}/テスト", File.read("open_chdir_テスト").chomp.encode(__ENCODING__)) } - end if Encoding.find('locale') == Encoding::UTF_8 + end if windows? || Encoding.find('locale') == Encoding::UTF_8 def test_execopts_open_failure with_tmpchdir {|d| |