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

Commit

Permalink
Merge pull request #607 from rspec/fix-ruby-head
Browse files Browse the repository at this point in the history
Fix warnings on Ruby 3.4.0
  • Loading branch information
JonRowe authored Jul 15, 2024
2 parents 42b18c4 + 3bbcb65 commit d144907
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion spec/rspec/support/differ_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# encoding: utf-8
require 'spec_helper'
require 'ostruct'
require 'timeout'
require 'rspec/support/spec/string_matcher'

Expand Down
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 d144907

Please sign in to comment.