mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Don't pollute Object with cvar
This commit is contained in:
parent
f0a16e2cc3
commit
91e825c311
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ describe Pry::InputCompleter do
|
|||
end
|
||||
|
||||
it 'should complete instance variables' do
|
||||
object = Object.new
|
||||
object = Class.new.new
|
||||
|
||||
# set variables in appropriate scope
|
||||
object.instance_variable_set(:'@name', 'Pry')
|
||||
|
|
Loading…
Reference in a new issue