Skip to content

Commit

Permalink
Fix failing test on old Rubies
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegal committed Jun 1, 2022
1 parent d36681b commit cc1c674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/handlers/method_handler_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def method_with_forwarding(...)
EOF

expect(P('Bar#method_with_forwarding').signature).to eq "def method_with_forwarding(...)"
end
end if YARD.ruby3? # this is 2.7+ but we can just test on 3+

it "handles method with anonymous block" do
YARD.parse_string <<-EOF
Expand Down

0 comments on commit cc1c674

Please sign in to comment.