summaryrefslogtreecommitdiff
path: root/test/irb/type_completion/test_type_analyze.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/irb/type_completion/test_type_analyze.rb')
-rw-r--r--test/irb/type_completion/test_type_analyze.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/irb/type_completion/test_type_analyze.rb b/test/irb/type_completion/test_type_analyze.rb
index c417a8ad12..1c1ea94c29 100644
--- a/test/irb/type_completion/test_type_analyze.rb
+++ b/test/irb/type_completion/test_type_analyze.rb
@@ -1,5 +1,7 @@
# frozen_string_literal: true
+return unless ENV['WITH_TYPE_COMPLETION_TEST']
+
# Run test only when Ruby >= 3.0 and %w[prism rbs] are available
return unless RUBY_VERSION >= '3.0.0'
return if RUBY_ENGINE == 'truffleruby' # needs endless method definition