ludus/test/cases/if.ld
2023-12-24 17:17:08 -05:00

8 lines
277 B
Plaintext

& EXPECT (:true, :false, :true, :false)
let true_literal = if true then :true else :false
let false_literal = if false then :true else :false
let truthy = if :truthy then :true else :false
let falsy = if nil then :true else :false
(true_literal, false_literal, truthy, falsy)