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

14 commits

Author SHA1 Message Date
Kyrylo Silin
8f3e4555ba Tidy up tests and remove some repeating code
Clean up repeating code on the subject of str_output variable. Fix
indentation in some files and restructure some tests, in order to
ease parsing of files by an eye.

Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
2012-06-11 19:33:04 +02:00
John Mair
b6b36c5e0f fixed failing save-file test (changed option name -c -> -k) 2012-06-03 01:58:37 +12:00
John Mair
f79dda0f84 added an extra test to save-file for --lines option 2012-01-23 21:13:29 +13:00
John Mair
a0da067eb0 added tests for save-file and --append option 2012-01-23 00:29:28 +13:00
Ryan Fitzgerald
e7fed21ded refactor cat 2012-01-07 22:01:15 -08:00
Conrad Irwin
30e1e0941e Use Helpers::BaseHelpers.<foo>? MOAR 2011-12-27 23:16:53 +00:00
Jordon Bedwell
f5a01141ea Ask Tempfile to unlink when we Tempfile#close.
Fixes: #375
Signed-off-by: Jordon Bedwell <jordon@envygeeks.com>
2011-12-26 07:30:24 -06:00
Ryan Fitzgerald
aee2eae8e5 use a better prefix for tempfiles (fixes #331) 2011-11-06 01:09:11 -07:00
Ryan Fitzgerald
fd488dfd01 implement cat --in (fixes #330) 2011-11-06 01:00:37 -07:00
John Mair
f89f31ff49 added error handling to cat command 2011-09-15 21:09:46 +12:00
Ryan Fitzgerald
cb870222af fix tempfile usage in shell tests 2011-09-13 20:03:24 -07:00
John Mair
5af4111846 added tests for cat --ex N and edit --ex N, all passing except on RBX 2011-09-14 05:43:57 +12:00
John Mair
7878654d42 cat --ex now shows code for exceptions raised in the REPL 2011-09-11 04:44:49 +12:00
John Mair
6cd1d28d98 merged in robgleeson's patch to pass pry instance to prompts, also added test_special_local.rb and test_shell.rb tests 2011-09-02 22:25:18 +12:00