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 622593e commit 1b6c7a5Copy full SHA for 1b6c7a5
spec/ruby/library/stringio/initialize_spec.rb
@@ -192,7 +192,7 @@
192
# NOTE: Synchronise with core/io/new_spec.rb (core/io/shared/new.rb)
193
describe "StringIO#initialize when passed keyword arguments" do
194
it "sets the mode based on the passed :mode option" do
195
- io = StringIO.new("example", "r")
+ io = StringIO.new("example", mode: "r")
196
io.closed_read?.should be_false
197
io.closed_write?.should be_true
198
end
0 commit comments