mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Minor fixes in completion spec
This commit is contained in:
parent
f02ba7615b
commit
edf455f379
1 changed files with 4 additions and 8 deletions
|
@ -142,10 +142,8 @@ describe Pry::InputCompleter do
|
||||||
Con = :constant
|
Con = :constant
|
||||||
end
|
end
|
||||||
|
|
||||||
pry = Pry.new()
|
pry = Pry.new(:target => Baz)
|
||||||
stack = pry.binding_stack
|
pry.push_binding(Bar)
|
||||||
stack.push(Pry.binding_for(Baz))
|
|
||||||
stack.push(Pry.binding_for(Bar))
|
|
||||||
|
|
||||||
b = Pry.binding_for(Bar)
|
b = Pry.binding_for(Bar)
|
||||||
completer_test(b, pry).call("../@bazvar")
|
completer_test(b, pry).call("../@bazvar")
|
||||||
|
@ -216,10 +214,8 @@ describe Pry::InputCompleter do
|
||||||
Con = :constant
|
Con = :constant
|
||||||
end
|
end
|
||||||
|
|
||||||
pry = Pry.new()
|
pry = Pry.new(:target => Baz)
|
||||||
stack = pry.binding_stack
|
pry.push_binding(Bar)
|
||||||
stack.push(Pry.binding_for(Baz))
|
|
||||||
stack.push(Pry.binding_for(Bar))
|
|
||||||
|
|
||||||
b = Pry.binding_for(Bar)
|
b = Pry.binding_for(Bar)
|
||||||
completer_test(b, pry).call("../@bazvar")
|
completer_test(b, pry).call("../@bazvar")
|
||||||
|
|
Loading…
Reference in a new issue