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

15 commits

Author SHA1 Message Date
strcmp
c27fe9c04d return false from #piping? when $stdout is not an IO. 2015-08-24 03:08:41 +01:00
Kyrylo Silin
dd92e2a359 Fix regression with respect to space prefixes
Fixes #1369 (Prefixing commands with a space is not working)

The regression was introduced by this commit:

  68bcca22a0

Since then the main logic for the REPL was hugely refactored. This
refactoring morphed the error into this commit:

  e020f8cecd

Sorry about this hacky solution.
2015-03-08 10:06:56 +02:00
Matijs van Zuijlen
96b61f14aa Fix some warnings 2015-01-23 14:03:36 +01:00
Robert Gleeson
74135c1890 allow for tests to be run with ease.
'bacon spec/config_spec.rb' instead of 'bacon -I spec spec/config_spec.rb'
2014-03-14 05:31:24 +01:00
Robert Gleeson
c3d79eb59f fix last fail. inherit StringIO 'output' from wrapped "Pry" in ReplTester. 2014-01-29 14:56:54 +01:00
Ryan Fitzgerald
eb150b71d7 Fix specs on rbx-2.1.0 2013-11-23 18:11:29 -08:00
WU Jun
3b36a998c5 Add tests for exception rescuing in REPL. 2013-03-26 21:23:13 +08:00
Conrad Irwin
8a23c9a8a7 Use correct_indent not auto_indent...
Prior to this change, when auto_indent was set to true for some tests,
the green dots would be cleared half-way through.

We should probably re-consider these options, but it seems useful to
explicitly disable ANSI code rewriting during specs while leaving
indentation mutating read lines (before this change, there was a bug
in REPL that did not manifest because auto_indent was false).
2012-12-28 16:06:54 -08:00
Ryan Fitzgerald
e82eaad134 Update existing pry_repl test 2012-12-23 22:06:06 -08:00
Ryan Fitzgerald
4b5d47cd60 Fix tester for nested-instance case 2012-12-23 19:58:18 -08:00
Ryan Fitzgerald
00c2fc935d Test command mutating eval_string instead of Ruby doing it
It probably isn't actually important to support Ruby mutating
eval_string.
2012-12-23 15:22:02 -08:00
Ryan Fitzgerald
4edafaee0f ReplTester API changes; add failing spec 2012-12-23 12:25:48 -08:00
Ryan Fitzgerald
3c6ffaf69c Slightly refactor REPL initialization 2012-12-23 00:08:40 -08:00
Ryan Fitzgerald
6ee0f4a32b Add integration tester, failing spec 2012-12-23 00:03:29 -08:00
Conrad Irwin
e020f8cecd Ensure running commands in multiline exprs works 2012-12-15 14:09:40 -08:00