summaryrefslogtreecommitdiff
path: root/spec/ruby/command_line/dash_upper_e_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/command_line/dash_upper_e_spec.rb')
-rw-r--r--spec/ruby/command_line/dash_upper_e_spec.rb8
1 files changed, 5 insertions, 3 deletions
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