зеркало из https://github.com/github/ruby.git
[ruby/irb] Skip TypeCompletion test in ruby ci
(https://github.com/ruby/irb/pull/748) https://github.com/ruby/irb/commit/d394af0bbc
This commit is contained in:
Родитель
7f565b923a
Коммит
8da33bff8c
|
@ -653,6 +653,7 @@ 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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче