mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Remove unecessary eval's from cd_spec
This commit is contained in:
parent
235203b11f
commit
e833b00101
1 changed files with 3 additions and 3 deletions
|
@ -13,15 +13,15 @@ describe 'cd' do
|
|||
end
|
||||
|
||||
def binding_stack
|
||||
eval '_pry_.binding_stack.dup'
|
||||
pry.binding_stack.dup
|
||||
end
|
||||
|
||||
def command_state
|
||||
eval '_pry_.command_state["cd"]'
|
||||
pry.command_state["cd"]
|
||||
end
|
||||
|
||||
def old_stack
|
||||
eval '_pry_.command_state["cd"].old_stack.dup'
|
||||
pry.command_state['cd'].old_stack.dup
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue