Skip to content

Commit

Permalink
tests: Variable declaration (partly as a regression test for the prev…
Browse files Browse the repository at this point in the history
…ious commit)
  • Loading branch information
obiwac committed Oct 1, 2024
1 parent fe098ab commit cb6ed93
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/var_decl.fl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
let x
assert x == none

x = 5
assert x == 5
assert x != none

let y = 1 + 2
assert y == 3
assert y != none

y = 23123
assert y == 23123

let z = x + y
assert z == 23128

0 comments on commit cb6ed93

Please sign in to comment.