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
|
@ -42,12 +42,10 @@ describe :string_times, shared: true do
|
|||
end
|
||||
end
|
||||
|
||||
with_feature :encoding do
|
||||
it "returns a String in the same encoding as self" do
|
||||
str = "\xE3\x81\x82".force_encoding Encoding::UTF_8
|
||||
result = @object.call(str, 2)
|
||||
result.encoding.should equal(Encoding::UTF_8)
|
||||
end
|
||||
it "returns a String in the same encoding as self" do
|
||||
str = "\xE3\x81\x82".force_encoding Encoding::UTF_8
|
||||
result = @object.call(str, 2)
|
||||
result.encoding.should equal(Encoding::UTF_8)
|
||||
end
|
||||
|
||||
platform_is wordsize: 32 do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue