We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d690c3 commit 421ffd1Copy full SHA for 421ffd1
library/stringio/shared/read.rb
@@ -15,7 +15,7 @@
15
buffer.should == "example"
16
end
17
18
- ruby_version_is ""..."3.4" do
+ guard -> { StringIO::VERSION < "3.1.1" } do
19
it "does not preserve the encoding of the given buffer" do
20
buffer = ''.encode(Encoding::ISO_8859_1)
21
@io.send(@method, 7, buffer)
@@ -24,7 +24,7 @@
24
25
26
27
- ruby_version_is "3.4" do
+ guard -> { StringIO::VERSION >= "3.1.1" } do
28
it "preserves the encoding of the given buffer" do
29
30
0 commit comments