From d840ee127dfd79abd208a155f01d66293ae290ca Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 14 Nov 2023 23:56:03 +0900 Subject: [PATCH] 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 #1514 . --- spec/handlers/examples/yield_handler_001.rb.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/spec/handlers/examples/yield_handler_001.rb.txt b/spec/handlers/examples/yield_handler_001.rb.txt index 668f81836..ecc432764 100644 --- a/spec/handlers/examples/yield_handler_001.rb.txt +++ b/spec/handlers/examples/yield_handler_001.rb.txt @@ -1,7 +1,4 @@ class Testing - # Ignore yields outside methods - yield x, y, z - # Should document this def mymethod yield