lsegal / yard

YARD is a Ruby Documentation tool. The Y stands for "Yay!"
http://yardoc.org
MIT License
1.92k stars 394 forks source link

TEST: remove invalid yield usage from spec example #1519

Closed mtasaka closed 4 months ago

mtasaka commented 7 months ago

Using yield outside method definition is invalid, and with ruby3.3.0dev, this usage in spec example file causes spec testsuite failure.

So to make test pass also on ruby3.3, remove this usage.

Fixes #1514 .

Completed Tasks

lsegal commented 4 months ago

Revisiting this since it seems like there's no way to test without 3.3 support here, which is unfortunate.

lsegal commented 4 months ago

Thanks for the contribution!