diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/irb/test_completion.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/irb/test_completion.rb b/test/irb/test_completion.rb index e5a1f4d586..cb6da5b1f2 100644 --- a/test/irb/test_completion.rb +++ b/test/irb/test_completion.rb @@ -31,5 +31,9 @@ module TestIRB assert_include(IRB::InputCompletor.retrieve_completion_data(":a", bind: binding), ":aiueo") assert_empty(IRB::InputCompletor.retrieve_completion_data(":abcdefg", bind: binding)) end + + def test_complete_symbol_failure + assert_nil(IRB::InputCompletor::PerfectMatchedProc.(":aiueo", bind: binding)) + end end end |