From 2db8133166c6451b8c0b1aabf7093b9ab62dc579 Mon Sep 17 00:00:00 2001 From: John Mair Date: Tue, 14 Jun 2011 01:39:14 +1200 Subject: [PATCH] fixed failing test on 1.8.7 --- test/test_default_commands/test_input.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_default_commands/test_input.rb b/test/test_default_commands/test_input.rb index fd518045..ba0dd23e 100644 --- a/test/test_default_commands/test_input.rb +++ b/test/test_default_commands/test_input.rb @@ -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/