diff options
Diffstat (limited to 'test/irb/command/test_help.rb')
-rw-r--r-- | test/irb/command/test_help.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/irb/command/test_help.rb b/test/irb/command/test_help.rb index c82c43a4c5..b34832b022 100644 --- a/test/irb/command/test_help.rb +++ b/test/irb/command/test_help.rb @@ -62,5 +62,14 @@ module TestIRB assert_match(/\$\s+Alias for `show_source`/, out) assert_match(/@\s+Alias for `whereami`/, out) end + + def test_help_lists_helper_methods + out = run_ruby_file do + type "help" + type "exit" + end + + assert_match(/Helper methods\s+conf\s+Returns the current IRB context/, out) + end end end |