mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@7de852d
This commit is contained in:
parent
994833085a
commit
79671ec57e
135 changed files with 4415 additions and 4885 deletions
|
@ -44,12 +44,10 @@ describe :file_path, shared: true do
|
|||
end
|
||||
end
|
||||
|
||||
with_feature :encoding do
|
||||
it "preserves the encoding of the path" do
|
||||
path = @path.force_encoding("euc-jp")
|
||||
@file = File.new path
|
||||
@file.send(@method).encoding.should == Encoding.find("euc-jp")
|
||||
end
|
||||
it "preserves the encoding of the path" do
|
||||
path = @path.force_encoding("euc-jp")
|
||||
@file = File.new path
|
||||
@file.send(@method).encoding.should == Encoding.find("euc-jp")
|
||||
end
|
||||
|
||||
ruby_version_is "2.5" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue