From 015a415ee3e721f42be6e29168aed4c0fcd8e18f Mon Sep 17 00:00:00 2001 From: eregon Date: Tue, 27 Feb 2018 20:45:59 +0000 Subject: Update to ruby/spec@51f301d git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/command_line/dash_upper_e_spec.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'spec/ruby/command_line') diff --git a/spec/ruby/command_line/dash_upper_e_spec.rb b/spec/ruby/command_line/dash_upper_e_spec.rb index e39491ca8b..39ffa001a3 100644 --- a/spec/ruby/command_line/dash_upper_e_spec.rb +++ b/spec/ruby/command_line/dash_upper_e_spec.rb @@ -4,9 +4,11 @@ describe "ruby -E" do result.should == "EUC-JP" end - it "also sets the filesystem encoding with '-E external'" do - result = ruby_exe("print Encoding.find('filesystem')", options: '-E euc-jp') - result.should == "EUC-JP" + platform_is_not :windows do + it "also sets the filesystem encoding with '-E external'" do + result = ruby_exe("print Encoding.find('filesystem')", options: '-E euc-jp') + result.should == "EUC-JP" + end end it "sets the external encoding with '-E external:'" do -- cgit v1.2.3