Skip to content

Commit d840ee1

Browse files
committed
TEST: remove invalid yield usage from spec example
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 lsegal#1514 .
1 parent 2d197a3 commit d840ee1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

spec/handlers/examples/yield_handler_001.rb.txt

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
class Testing
2-
# Ignore yields outside methods
3-
yield x, y, z
4-
52
# Should document this
63
def mymethod
74
yield

0 commit comments

Comments
 (0)