ruby: add test for for

found during triage
This commit is contained in:
yoff
2025-04-11 12:46:25 +02:00
parent 4167e96058
commit 6e2cfab7b2
2 changed files with 9 additions and 0 deletions

View File

@@ -67,4 +67,11 @@ def test_loop
end
end until a # OK
a # OK - given previous until
end
def test_for
for i in 0..10 #$ SPURIOUS: Alert
i
end
i #$ SPURIOUS: Alert
end