summaryrefslogtreecommitdiff
path: root/test/irb/test_completion.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-20 09:32:44 +0000
committeraycabta <aycabta@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-20 09:32:44 +0000
commit3863b7776f68821e5a873fd3a73886a2eb377845 (patch)
treef146d9fc2360c39f8dce4472d24aecc5284bcfb9 /test/irb/test_completion.rb
parent66ae3bd5599186599af5041dced836087cdeb3bd (diff)
Remove IRB's old test files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/irb/test_completion.rb')
-rw-r--r--test/irb/test_completion.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/irb/test_completion.rb b/test/irb/test_completion.rb
deleted file mode 100644
index 608c41bad9..0000000000
--- a/test/irb/test_completion.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: false
-require 'test/unit'
-
-module TestIRB
- class TestCompletion < Test::Unit::TestCase
- def test_nonstring_module_name
- begin
- require "irb/completion"
- bug5938 = '[ruby-core:42244]'
- cmds = %W[-rirb -rirb/completion -e IRB.setup(__FILE__)
- -e IRB.conf[:MAIN_CONTEXT]=IRB::Irb.new.context
- -e module\sFoo;def\sself.name;//;end;end
- -e IRB::InputCompletor::CompletionProc.call("[1].first.")
- -- -f --]
- status = assert_in_out_err(cmds, "", //, [], bug5938)
- assert(status.success?, bug5938)
- rescue LoadError
- skip "cannot load irb/completion"
- end
- end
- end
-end