summaryrefslogtreecommitdiff
path: root/test/irb/test_context.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/irb/test_context.rb')
-rw-r--r--test/irb/test_context.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/irb/test_context.rb b/test/irb/test_context.rb
index 5804607d13..f4a19ee3c4 100644
--- a/test/irb/test_context.rb
+++ b/test/irb/test_context.rb
@@ -666,14 +666,9 @@ module TestIRB
original_completor = IRB.conf[:COMPLETOR]
IRB.conf[:COMPLETOR] = :regexp
assert_equal 'IRB::RegexpCompletor', @context.send(:build_completor).class.name
- IRB.conf[:COMPLETOR] = :type
- if RUBY_VERSION >= '3.0.0' && RUBY_ENGINE != 'truffleruby'
- assert_equal 'IRB::TypeCompletion::Completor', @context.send(:build_completor).class.name
- else
- assert_equal 'IRB::RegexpCompletor', @context.send(:build_completor).class.name
- end
IRB.conf[:COMPLETOR] = :unknown
assert_equal 'IRB::RegexpCompletor', @context.send(:build_completor).class.name
+ # :type is tested in test_type_completor.rb
ensure
$VERBOSE = verbose
IRB.conf[:COMPLETOR] = original_completor