Skip to content

Commit

Permalink
Change Sorbet initializer expectation based on RUBY_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock committed Jun 30, 2022
1 parent a15f6b2 commit 0de643f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/tapioca/gem/pipeline_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0de643f

Please sign in to comment.