[前][次][番号順一覧][スレッド一覧]

ruby-changes:60010

From: Hiroshi <ko1@a...>
Date: Wed, 12 Feb 2020 14:39:02 +0900 (JST)
Subject: [ruby-changes:60010] 166c4a6a28 (master): Revert "[ruby/irb] Add test_complete_symbol"

https://git.ruby-lang.org/ruby.git/commit/?id=166c4a6a28

From 166c4a6a2838995e3465ab3ce263bf0b5239ddde Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Wed, 12 Feb 2020 14:38:40 +0900
Subject: Revert "[ruby/irb] Add test_complete_symbol"

This reverts commit 3af3431c2c145134996e66f3d8d9ade8ad81bde0.

diff --git a/test/irb/test_completion.rb b/test/irb/test_completion.rb
index cb6da5b..b23f73e 100644
--- a/test/irb/test_completion.rb
+++ b/test/irb/test_completion.rb
@@ -26,12 +26,6 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_completion.rb#L26
       assert_empty(IRB::InputCompletor.retrieve_completion_data("1i.positi", bind: binding))
     end
 
-    def test_complete_symbol
-      :aiueo
-      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
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]