summaryrefslogtreecommitdiff
path: root/test/irb/command/test_custom_command.rb
AgeCommit message (Collapse)Author
2024-06-30[ruby/irb] Allow assigning and using local variable name conflictingtomoya ishida
with command (https://github.com/ruby/irb/pull/961) https://github.com/ruby/irb/commit/00603d470f
2024-05-04[ruby/irb] Improve help message for no meta commandsStan Lo
(https://github.com/ruby/irb/pull/948) * Remove unnecessary code from command tests * Improve help message for no meta commands 1. Add placeholder values for both command category and description 2. Update help command's output to give different types of categories more explicit ordering https://github.com/ruby/irb/commit/b1ef58aeff
2024-05-03[ruby/irb] Avoid raising errors while running help for customKenichi Kamiya
commands (https://github.com/ruby/irb/pull/944) * Avoid raising errors while running help for custom commands Raising an error from the help command is not a pleasure for the end user, even if the command does not define any attributes * Update test/irb/command/test_custom_command.rb --------- https://github.com/ruby/irb/commit/c8bba9f8dc Co-authored-by: Stan Lo <stan001212@gmail.com>
2024-05-03[ruby/irb] Fix typos in test/irb/command/test_custom_command.rbKenichi Kamiya
(https://github.com/ruby/irb/pull/945) https://github.com/ruby/irb/commit/f2b5fc192f
2024-04-26[ruby/irb] Command registration should take both strings and symbolsStan Lo
as names (https://github.com/ruby/irb/pull/932) This will save users some heads scratching when they try to register a command with a string name and found that it doesn't work. I also rewrote converted custom command tests into integration tests to make test setup/cleanup easier. https://github.com/ruby/irb/commit/a91a212dbe