1
0
Fork 0
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:
Ryan Fitzgerald 2012-12-18 00:54:22 -08:00
parent 7313581093
commit 9b575e1db8

View file

@ -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