We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3508b5 commit dbbf086Copy full SHA for dbbf086
test/irb/test_completion.rb
@@ -25,5 +25,11 @@ def test_complete_numeric
25
assert_include(IRB::InputCompletor.retrieve_completion_data("1r.positi", bind: binding), "1r.positive?")
26
assert_empty(IRB::InputCompletor.retrieve_completion_data("1i.positi", bind: binding))
27
end
28
+
29
+ def test_complete_symbol
30
+ :aiueo
31
+ assert_include(IRB::InputCompletor.retrieve_completion_data(":a", bind: binding), ":aiueo")
32
+ assert_empty(IRB::InputCompletor.retrieve_completion_data(":abcdefg", bind: binding))
33
+ end
34
35
0 commit comments