summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-02-14 00:07:28 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-02-14 00:07:28 +0900
commitfad98c6c61688d9ca7772bbfdef5a9d832529f16 (patch)
treea4d92f1305e2356590dcd0d52eabb057a0be79de /test
parent6bfc576271ead85f905b21ef9268e6e8ba5bb85f (diff)
test/irb/test_completion.rb: suppress a warning: unused literal ignored
Diffstat (limited to 'test')
-rw-r--r--test/irb/test_completion.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/irb/test_completion.rb b/test/irb/test_completion.rb
index f302499fe2..d4072fe892 100644
--- a/test/irb/test_completion.rb
+++ b/test/irb/test_completion.rb
@@ -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