Commit Graph

18 Commits

Author SHA1 Message Date
Ryan Fitzgerald a1a7cdc03d Pry.input_history -> Pry.history, Pry::InputHistory -> Pry::History 2011-09-05 01:56:28 -07:00
Ryan Fitzgerald 226f1ae816 replace direct Readline interface with InputHistory 2011-09-05 01:56:28 -07:00
John Mair 87a9bb06e4 tried to adapt some tests in test_input related to history to work around libedit bug in ruby 1.8.7 (still two failing tests) 2011-08-13 12:46:20 +12:00
Conrad Irwin 43b261c2e1 Omit blank and repeated lines from Readline::HISTORY.
We still preserve them in the line count and the line_buffer though,
lest we muchly confuse show-method and its ilk
2011-08-13 12:46:18 +12:00
Conrad Irwin 13bedefc26 Exclude the current line from History. 2011-07-24 16:20:32 -07:00
John Mair 82f348ac04 added tests for intrrospection and input commands to work with unified one-indexing (show-input, amend-line, play, etc) 2011-06-17 01:51:32 +12:00
John Mair 52611848d8 added yet more tests for amend-line, this time for insert behaviour 2011-06-16 01:45:28 +12:00
John Mair 2db8133166 fixed failing test on 1.8.7 2011-06-14 02:03:10 +12:00
Rob Gleeson 2b521f0a34 Merge branch 'master' of github.com:banister/pry 2011-06-13 14:29:42 +01:00
John Mair 0b4c186cc9 added tests for negative line number support in amend-line 2011-06-14 00:54:58 +12:00
John Mair 6b1b680c06 added more tests for amend-line relating to deletion of lines using bang, also testing error messages when nothing to amend 2011-06-14 00:54:57 +12:00
John Mair d79d452494 added tests for play command 2011-06-13 01:07:42 +12:00
John Mair b622b9dead added tests for new amend-line behaviour 2011-06-12 18:14:54 +12:00
Rob Gleeson c63015916d We can't use negative ranges because `Slop` interprets -1 as a switch. 2011-06-11 12:42:54 +01:00
John Mair ed04bc7924 fixed test_input.rb tests, for amend-line 2011-06-11 02:15:42 +12:00
John Mair 64b027c07d added test for amend-line that ensures interpolated strings are allowed 2011-06-11 02:15:41 +12:00
John Mair 9a245adb04 added tests for show-input and \! commands 2011-06-03 21:55:23 +12:00
John Mair 597f1cc68c reorganized command tests into test_default_commands/ folder with separate test files for each command set 2011-06-03 03:26:49 +12:00