mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Fix ivar leakage
This commit is contained in:
parent
00c2fc935d
commit
0e1ae0fe9f
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ describe "commands" do
|
|||
end
|
||||
|
||||
it 'should run a command in the context of a session' do
|
||||
pry_tester.tap do |t|
|
||||
pry_tester(Object.new).tap do |t|
|
||||
t.eval "@session_ivar = 10", "_pry_.run_command('ls')"
|
||||
t.last_output.should =~ /@session_ivar/
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue