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

Fix warnings on Ruby 3.4.0 #607

Merged
merged 2 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading