mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Don't pass eval_string in show_input_spec
This commit is contained in:
parent
7313581093
commit
9b575e1db8
1 changed files with 2 additions and 2 deletions
|
@ -6,12 +6,12 @@ describe "show-input" do
|
|||
end
|
||||
|
||||
it 'should correctly show the current lines in the input buffer' do
|
||||
eval_str = unindent(<<-STR)
|
||||
@t.accept_lines *unindent(<<-STR).split("\n")
|
||||
def hello
|
||||
puts :bing
|
||||
STR
|
||||
|
||||
@t.process_command 'show-input', eval_str
|
||||
@t.process_command 'show-input'
|
||||
@t.last_output.should =~ /\A\d+: def hello\n\d+: puts :bing/
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue