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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user