1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

fixed failing test on 1.8.7

This commit is contained in:
John Mair 2011-06-14 01:39:14 +12:00
parent 2b521f0a34
commit 2db8133166

View file

@ -199,7 +199,7 @@ describe "Pry::DefaultCommands::Input" do
@hist.push ":bucket"
@hist.push ":ostrich"
str_output = StringIO.new
redirect_pry_io(InputTester.new("hist --replay 3", "exit-all"), str_output) do
redirect_pry_io(InputTester.new("hist --replay -1", "exit-all"), str_output) do
pry
end
str_output.string.should =~ /ostrich/