Risky Business: omit do when passing a 0 arg function to a function #22

Merged
probablycorey merged 13 commits from risky-business into main 2025-11-04 15:19:54 +00:00
Showing only changes of commit 2fab792c1a - Show all commits

View File

@ -34,4 +34,15 @@ describe('while', () => {
b`)
.toEvaluateTo(100)
})
test('returns value', () => {
expect(`
a = 0
ret = while a < 10:
a += 1
done
end
ret`)
.toEvaluateTo('done')
})
})