[ruby/irb] Revert "Skip TypeCompletion test in ruby ci

(https://github.com/ruby/irb/pull/748)"
(https://github.com/ruby/irb/pull/755)

This reverts commit d394af0bbc.

a9d0145115
This commit is contained in:
Hiroshi SHIBATA 2023-11-09 21:45:57 +09:00
parent 293aced091
commit 589e2b6782
5 changed files with 0 additions and 9 deletions

View file

@ -653,7 +653,6 @@ module TestIRB
end
def test_build_completor
pend 'set ENV["WITH_TYPE_COMPLETION_TEST"] to run this test' unless ENV['WITH_TYPE_COMPLETION_TEST']
verbose, $VERBOSE = $VERBOSE, nil
original_completor = IRB.conf[:COMPLETOR]
IRB.conf[:COMPLETOR] = :regexp

View file

@ -1,7 +1,5 @@
# 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

View file

@ -1,7 +1,5 @@
# 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

View file

@ -1,7 +1,5 @@
# 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

View file

@ -1,7 +1,5 @@
# 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