diff --git a/spec/tapioca/gem/pipeline_spec.rb b/spec/tapioca/gem/pipeline_spec.rb index 7273cde14..c90e15ce3 100644 --- a/spec/tapioca/gem/pipeline_spec.rb +++ b/spec/tapioca/gem/pipeline_spec.rb @@ -3937,7 +3937,11 @@ class Baz abstract! # source://sorbet-runtime-0.5.10125/lib/types/private/abstract/declare.rb:37 + <% if ruby_version(">= 3.1") %> def initialize(*args, **_arg1, &blk); end + <% else %> + def initialize(*args, &blk); end + <% end %> end # source://the-dep-1.1.2/lib/foo.rb:1