mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Fix spec w/r/t 2.0 changing behavior of @
This commit is contained in:
parent
b7969d1daf
commit
b460170039
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ describe 'cd' do
|
||||||
describe 'when an error was raised' do
|
describe 'when an error was raised' do
|
||||||
it 'should not toggle and should keep correct stacks' do
|
it 'should not toggle and should keep correct stacks' do
|
||||||
proc {
|
proc {
|
||||||
@t.eval 'cd @'
|
@t.eval 'cd %'
|
||||||
}.should.raise(Pry::CommandError)
|
}.should.raise(Pry::CommandError)
|
||||||
|
|
||||||
@t.old_stack.should == []
|
@t.old_stack.should == []
|
||||||
|
|
Loading…
Reference in a new issue