Skip to content

Commit

Permalink
Suppress warning at literal string
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu authored and andrykonchin committed Apr 1, 2024
1 parent 8c0a7ac commit 79c26f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/stringio/binmode_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

describe "StringIO#binmode" do
it "returns self" do
io = StringIO.new("example")
io = StringIO.new(+"example")
io.binmode.should equal(io)
end

Expand Down

0 comments on commit 79c26f1

Please sign in to comment.