fix: fixed how the ir was generating for expect Void, expect Bool, let Void

add some acceptance tests for the various scenarios
This commit is contained in:
microproofs
2023-04-12 22:37:33 -04:00
parent 280284d4a1
commit fc1b8738df
3 changed files with 145 additions and 97 deletions

View File

@@ -9,3 +9,15 @@ test expect_false() {
expect False = val < 0
True
}
test expect_data_false() {
let val: Data = 0 > 5
expect False: Bool = val
True
}
test expect_data_true() {
let val: Data = 0 < 5
expect True: Bool = val
True
}