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

Commit ed32a44

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

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
@@ -88,7 +88,7 @@
8888

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

0 commit comments

Comments
 (0)