Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
Remove string literal warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Jul 15, 2024
1 parent 4592c7f commit 3bbcb65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rspec/support_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def self.to_s

context 'with an object having a singleton class' do
let(:object) do
object = 'foo'
object = String.new('foo')

def object.some_method
end
Expand Down

0 comments on commit 3bbcb65

Please sign in to comment.