just in case
This commit is contained in:
parent
5f4bf60062
commit
f1eaafee19
|
|
@ -34,4 +34,15 @@ describe('while', () => {
|
||||||
b`)
|
b`)
|
||||||
.toEvaluateTo(100)
|
.toEvaluateTo(100)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
test('returns value', () => {
|
||||||
|
expect(`
|
||||||
|
a = 0
|
||||||
|
ret = while a < 10:
|
||||||
|
a += 1
|
||||||
|
done
|
||||||
|
end
|
||||||
|
ret`)
|
||||||
|
.toEvaluateTo('done')
|
||||||
|
})
|
||||||
})
|
})
|
||||||
Loading…
Reference in New Issue
Block a user