summaryrefslogtreecommitdiff
path: root/spec/ruby/library/stringio/shared
diff options
context:
space:
mode:
authorAndrew Konchin <[email protected]>2024-12-09 20:32:39 +0200
committerBenoit Daloze <[email protected]>2024-12-10 14:38:52 +0100
commitde5df203bcfb228b7043ae0116535953c325ddb4 (patch)
treea3b8b89d3010cc554fdb1df2720e81be41357787 /spec/ruby/library/stringio/shared
parenta90d8c335a6f5f2ae0c9480c9a546089f52e9028 (diff)
Update to ruby/spec@9f10222
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12297
Diffstat (limited to 'spec/ruby/library/stringio/shared')
-rw-r--r--spec/ruby/library/stringio/shared/write.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/stringio/shared/write.rb b/spec/ruby/library/stringio/shared/write.rb
index 404e08b93d..4661658baf 100644
--- a/spec/ruby/library/stringio/shared/write.rb
+++ b/spec/ruby/library/stringio/shared/write.rb
@@ -94,7 +94,7 @@ describe :stringio_write_string, shared: true do
end
it "does not transcode the given string when the external encoding is set and the string encoding is BINARY" do
- str = "été".b
+ str = "été_".b
io = StringIO.new.set_encoding(Encoding::UTF_16BE)
io.external_encoding.should == Encoding::UTF_16BE