ruby/test/irb
Stan Lo b43cc51dca [ruby/irb] Clear all context usages in RubyLex
(https://github.com/ruby/irb/pull/684)

After this change, `RubyLex` will not interact with `Context` directly
in any way. This decoupling has a few benefits:

- It makes `RubyLex` easier to test as it no longer has a dependency on
  `Context`. We can see this from the removal of `build_context` from
  `test_ruby_lex.rb`.
- It will make `RubyLex` easier to understand as it will not be affected
  by state changes in `Context` objects.
- It allows `RubyLex` to be used in places where `Context` is not available.

https://github.com/ruby/irb/commit/d5b262a076
2023-10-04 12:13:33 +00:00
..
yamatanooroti [ruby/irb] Add --nomultiline indent and prompt test 2023-08-29 15:34:49 +00:00
helper.rb [ruby/irb] Test should not depend on user's irbrc file specified by 2023-09-17 21:25:49 +00:00
test_cmd.rb [ruby/irb] Disable pager in show-source test 2023-09-26 10:06:17 +00:00
test_color.rb [ruby/irb] Stanardise test class names with `Test` postfix instead 2023-06-13 11:02:26 +00:00
test_color_printer.rb [ruby/irb] Stanardise test class names with `Test` postfix instead 2023-06-13 11:02:26 +00:00
test_completion.rb [ruby/irb] Stanardise test class names with `Test` postfix instead 2023-06-13 11:02:26 +00:00
test_context.rb [ruby/irb] Fix Reline's test failure running with `make test-all 2023-09-30 17:56:06 +00:00
test_debug_cmd.rb [ruby/irb] Improve help/show_cmds message during debugger 2023-08-29 18:36:16 +00:00
test_eval_history.rb [ruby/irb] Refactor eval history 2023-07-04 15:17:41 +00:00
test_evaluation.rb [ruby/irb] Don't echo an expression's result when it ends with a 2023-08-11 16:18:58 +00:00
test_history.rb [ruby/irb] Handle Concurrent Sessions and Saving Readline::HISTORY 2023-09-16 12:48:32 +00:00
test_init.rb [ruby/irb] Stanardise test class names with `Test` postfix instead 2023-06-13 11:02:26 +00:00
test_input_method.rb [ruby/irb] Fix Reline's test failure running with `make test-all 2023-09-30 17:56:06 +00:00
test_irb.rb [ruby/irb] Clear all context usages in RubyLex 2023-10-04 12:13:33 +00:00
test_locale.rb [ruby/irb] Use a more tolerant way to check Locale#find's return 2023-04-26 16:52:51 +00:00
test_nesting_parser.rb [ruby/irb] Deprecate RubyLex and warn about referencing to it 2023-08-24 15:35:40 +00:00
test_option.rb [ruby/irb] Stanardise test class names with `Test` postfix instead 2023-06-13 11:02:26 +00:00
test_raise_no_backtrace_exception.rb [ruby/irb] Stanardise test class names with `Test` postfix instead 2023-06-13 11:02:26 +00:00
test_ruby_lex.rb [ruby/irb] Clear all context usages in RubyLex 2023-10-04 12:13:33 +00:00
test_workspace.rb [ruby/irb] Stanardise test class names with `Test` postfix instead 2023-06-13 11:02:26 +00:00