diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-29 13:37:25 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-29 14:18:13 +0100 |
| commit | 0efe669278a5e1c3f2985eba2f3360e91159c54a (patch) | |
| tree | 502712857c48f0decb5e698257c0a96d358a436e /tests/typ/base/assert.typ | |
| parent | 836692e73cff0356e409a9ba5b4887b86809d4ca (diff) | |
Reorganize library and tests
Diffstat (limited to 'tests/typ/base/assert.typ')
| -rw-r--r-- | tests/typ/base/assert.typ | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/typ/base/assert.typ b/tests/typ/base/assert.typ deleted file mode 100644 index b0c8aafd..00000000 --- a/tests/typ/base/assert.typ +++ /dev/null @@ -1,23 +0,0 @@ -// Test the `assert` function. -// Ref: false - ---- -#assert(1 + 1 == 2) -#assert(range(2, 5) == (2, 3, 4)) -#assert(not false) - ---- -// Test failing assertions. -// Error: 9-15 assertion failed -#assert(1 == 2) - ---- -// Test failing assertions. -// Error: 9-15 expected boolean, found string -#assert("true") - ---- -// Test the `type` function. -#test(type(1), "integer") -#test(type(ltr), "direction") -#test(type(10 / 3), "float") |
