diff --git a/lib/ruby_lsp/test_helper.rb b/lib/ruby_lsp/test_helper.rb index 016dccb25..d905dd3e4 100644 --- a/lib/ruby_lsp/test_helper.rb +++ b/lib/ruby_lsp/test_helper.rb @@ -8,6 +8,9 @@ module TestHelper class TestError < StandardError; end extend T::Sig + extend T::Helpers + + requires_ancestor { Kernel } sig do type_parameters(:T) diff --git a/sorbet/rbi/shims/test_helper.rbi b/sorbet/rbi/shims/test_helper.rbi deleted file mode 100644 index 2ad3d0a38..000000000 --- a/sorbet/rbi/shims/test_helper.rbi +++ /dev/null @@ -1,5 +0,0 @@ -# typed: true - -module RubyLsp::TestHelper - include Kernel # for `raise` -end