mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/irb/test_completion.rb: suppress a warning: unused literal ignored
This commit is contained in:
parent
6bfc576271
commit
fad98c6c61
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ module TestIRB
|
|||
end
|
||||
|
||||
def test_complete_symbol
|
||||
:aiueo
|
||||
_ = :aiueo
|
||||
assert_include(IRB::InputCompletor.retrieve_completion_data(":a", bind: binding), ":aiueo")
|
||||
assert_empty(IRB::InputCompletor.retrieve_completion_data(":irb_unknown_symbol_abcdefg", bind: binding))
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue