1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
This commit is contained in:
Benoit Daloze 2019-04-28 23:20:11 +02:00
parent 994833085a
commit 79671ec57e
135 changed files with 4415 additions and 4885 deletions

View file

@ -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