mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@007e908
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
58689fa747
commit
2dca35b9b1
4 changed files with 24 additions and 21 deletions
|
@ -57,10 +57,9 @@ describe 'The -K command line option' do
|
|||
end
|
||||
end
|
||||
|
||||
platform_is_not :windows do
|
||||
it "ignores unknown codes" do
|
||||
ruby_exe(@test_string, options: '-KZ').should ==
|
||||
[Encoding::UTF_8.name, Encoding::UTF_8.name, nil].inspect
|
||||
end
|
||||
it "ignores unknown codes" do
|
||||
locale = Encoding.find('locale')
|
||||
ruby_exe(@test_string, options: '-KZ').should ==
|
||||
[Encoding::UTF_8.name, locale.name, nil].inspect
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue