summaryrefslogtreecommitdiff
path: root/test/irb/type_completion/test_scope.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/irb/type_completion/test_scope.rb')
-rw-r--r--test/irb/type_completion/test_scope.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/irb/type_completion/test_scope.rb b/test/irb/type_completion/test_scope.rb
index d7f9540b06..4eb0194785 100644
--- a/test/irb/type_completion/test_scope.rb
+++ b/test/irb/type_completion/test_scope.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