tomoya ishida 2023-11-08 15:42:05 +09:00 коммит произвёл git
Родитель 7f565b923a
Коммит 8da33bff8c
5 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -653,6 +653,7 @@ module TestIRB
end end
def test_build_completor 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 verbose, $VERBOSE = $VERBOSE, nil
original_completor = IRB.conf[:COMPLETOR] original_completor = IRB.conf[:COMPLETOR]
IRB.conf[:COMPLETOR] = :regexp IRB.conf[:COMPLETOR] = :regexp

Просмотреть файл

@ -1,5 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
return unless ENV['WITH_TYPE_COMPLETION_TEST']
return unless RUBY_VERSION >= '3.0.0' return unless RUBY_VERSION >= '3.0.0'
return if RUBY_ENGINE == 'truffleruby' # needs endless method definition return if RUBY_ENGINE == 'truffleruby' # needs endless method definition

Просмотреть файл

@ -1,5 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
return unless ENV['WITH_TYPE_COMPLETION_TEST']
# Run test only when Ruby >= 3.0 and %w[prism rbs] are available # Run test only when Ruby >= 3.0 and %w[prism rbs] are available
return unless RUBY_VERSION >= '3.0.0' return unless RUBY_VERSION >= '3.0.0'
return if RUBY_ENGINE == 'truffleruby' # needs endless method definition return if RUBY_ENGINE == 'truffleruby' # needs endless method definition

Просмотреть файл

@ -1,5 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
return unless ENV['WITH_TYPE_COMPLETION_TEST']
# Run test only when Ruby >= 3.0 and %w[prism rbs] are available # Run test only when Ruby >= 3.0 and %w[prism rbs] are available
return unless RUBY_VERSION >= '3.0.0' return unless RUBY_VERSION >= '3.0.0'
return if RUBY_ENGINE == 'truffleruby' # needs endless method definition return if RUBY_ENGINE == 'truffleruby' # needs endless method definition

Просмотреть файл

@ -1,5 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
return unless ENV['WITH_TYPE_COMPLETION_TEST']
return unless RUBY_VERSION >= '3.0.0' return unless RUBY_VERSION >= '3.0.0'
return if RUBY_ENGINE == 'truffleruby' # needs endless method definition return if RUBY_ENGINE == 'truffleruby' # needs endless method definition