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

9 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
8d0fa78ce5 moved Pry#complete_expression? et al to Pry::Code
* This is so we can use it without needing a Pry instance present, it also feels like a more natural home for it.
2012-04-11 02:17:35 +12:00
Conrad Irwin
ab2f586e3c Fix edge-case in indent on ruby 1.9.3 [Fixes #517]
This is not fixed on rbx — maybe we should consider using the data we've
collected in indent.rb to look for unbalanced open/close tokens too on
rbx as it's error messages often elide the "Expected }" part of the
message.
2012-04-08 18:45:52 -07:00
Conrad Irwin
c74d240d0a Don't clobber _ex_ on typoes 2012-01-12 23:27:38 -08:00
Conrad Irwin
83480a099c Only a comma-at-the-end should make it an incomplete expression 2012-01-07 00:25:45 -08:00
Conrad Irwin
30e1e0941e Use Helpers::BaseHelpers.<foo>? MOAR 2011-12-27 23:16:53 +00:00
Conrad Irwin
7fe9fc1fd5 Add test for Issue 343 2011-11-26 00:40:14 -08:00
Conrad Irwin
dfed318475 typo 2011-11-25 23:52:07 -08:00
Conrad Irwin
510a7a82bd Copy-paste some specs from previous version 2011-11-25 23:47:15 -08:00