summaryrefslogtreecommitdiff
path: root/test/irb/type_completion/test_types.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/irb/type_completion/test_types.rb')
-rw-r--r--test/irb/type_completion/test_types.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/irb/type_completion/test_types.rb b/test/irb/type_completion/test_types.rb
index 7698bd2fc0..93c58be17a 100644
--- a/test/irb/type_completion/test_types.rb
+++ b/test/irb/type_completion/test_types.rb
@@ -1,5 +1,7 @@
# frozen_string_literal: true
+return unless ENV['WITH_TYPE_COMPLETION_TEST']
+
return unless RUBY_VERSION >= '3.0.0'
return if RUBY_ENGINE == 'truffleruby' # needs endless method definition