Skip to content

Commit

Permalink
tests: Add test for assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
obiwac committed Dec 21, 2024
1 parent b85d94a commit 648fa70
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions test/corpus/assert.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
===
Assertions
===

assert pi == 3

---

(source_file
(statement
(assert
test: (expression
(binary_expression
left: (expression (identifier))
operator: (comparative_operator)
right: (expression (literal (number)))
)
)
)
)
)

0 comments on commit 648fa70

Please sign in to comment.