1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/test
Kyrylo Silin be626cfada Retouch #aliases so it returns Array<String>
Also, refactor tests for `Method#aliases` and use a neat trick with
Sets, when matching two arrays.

  # Meh.
  [:a, :b, :c] == [:c, :b, :a] # => false

  # Yarr!
  Set.new([:a, :b, :c]) == Set.new([:c, :b, :a]) # => true

Last but not least, this commit fixes build errors on different rubies
(well, I hope so!).

Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
2012-08-28 02:08:05 +03:00
..
test_default_commands show-source for non-extant methods should return error msg. Fix #697 2012-08-23 08:15:09 -04:00
candidate_helper1.rb added tests for module candidate API 2012-06-23 20:14:10 +12:00
candidate_helper2.rb added tests for module candidate API 2012-06-23 20:14:10 +12:00
example_nesting.rb Add Module.nesting extraction to Pry::Indent 2012-07-28 14:31:20 -07:00
helper.rb Don't load ./.pryrc when it is ~/.pryrc [Fixes #682] 2012-08-05 12:05:35 -07:00
test_cli.rb updated cli.rb for new API and added tests for cli 2011-12-11 04:13:42 +13:00
test_code.rb Remember the initial pwd [Fixes #675] 2012-08-12 22:58:40 -07:00
test_command.rb Bond completion includes commands 2012-08-20 23:57:51 -07:00
test_command_helpers.rb
test_command_integration.rb Move all commands into individual files 2012-08-11 17:33:37 -07:00
test_command_set.rb Bond completion includes commands 2012-08-20 23:57:51 -07:00
test_completion.rb Add Bond completion (when available) cirwin++ 2012-08-18 22:49:20 +00:00
test_control_d_handler.rb Add unit tests for DEFAULT_CONTROL_D_HANDLER 2012-06-17 11:25:33 +12:00
test_exception_whitelist.rb Tidy up tests and remove some repeating code 2012-06-11 19:33:04 +02:00
test_history_array.rb Test that HistAry keeps correct number of entries 2012-08-21 00:24:57 +03:00
test_hooks.rb passing extra prompt data via an OpenStruct 2012-07-13 02:53:19 +12:00
test_indent.rb Add Module.nesting extraction to Pry::Indent 2012-07-28 14:31:20 -07:00
test_input_stack.rb Tidy up tests and remove some repeating code 2012-06-11 19:33:04 +02:00
test_method.rb Retouch #aliases so it returns Array<String> 2012-08-28 02:08:05 +03:00
test_prompt.rb passing extra prompt data via an OpenStruct 2012-07-13 02:53:19 +12:00
test_pry.rb Don't load ./.pryrc when it is ~/.pryrc [Fixes #682] 2012-08-05 12:05:35 -07:00
test_pry_defaults.rb Eliminate test failure 2012-06-26 22:34:13 -07:00
test_pry_history.rb clean up history tests a bit 2011-12-01 21:26:22 -08:00
test_pry_output.rb
test_sticky_locals.rb added Pry.config.extra_sticky_locals config option 2012-03-14 15:35:24 +13:00
test_syntax_checking.rb Don't rstrip strings [Fixes #657] 2012-07-18 09:27:43 -07:00
test_wrapped_module.rb more tightly spec WrappedModule, and ensure WM#source_location doesn't raise 2012-06-25 04:04:43 +12:00
testrc
testrcbad