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

Commit e161c7b

Browse files
committed
Instance vars no longer emit warnings in Ruby 3
From: ruby/ruby@01b7d5a
1 parent 5c65954 commit e161c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rspec/support/spec/stderr_splitter_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585

8686
unless defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
8787
it 'will fail an example which generates a warning' do
88-
true unless @undefined
88+
true unless $undefined
8989
expect { splitter.verify_no_warnings! }.to raise_error(/Warnings were generated:/)
9090
end
9191
end

0 commit comments

Comments
 (0)