diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-02-17 21:30:20 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-02-17 21:30:20 +0100 |
| commit | 2f4dc99cec1c6fa33257dea91ab3bcd99b1cbdf5 (patch) | |
| tree | eb983e54bac5ae226474bd8c5d6a29006b00ff12 /tests/lang/typ/expr-invalid.typ | |
| parent | db1659a987cd240b78e45666617248d3d0cc7d64 (diff) | |
Refresh tests 🌊
Diffstat (limited to 'tests/lang/typ/expr-invalid.typ')
| -rw-r--r-- | tests/lang/typ/expr-invalid.typ | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/lang/typ/expr-invalid.typ b/tests/lang/typ/expr-invalid.typ index 2d16034b..329a2616 100644 --- a/tests/lang/typ/expr-invalid.typ +++ b/tests/lang/typ/expr-invalid.typ @@ -4,14 +4,14 @@ --- // Missing expressions. -// Error: 3-3 expected expression +// Error: 3 expected expression {-} -// Error: 11-11 expected expression -#[test {1+}, 1] +// Error: 10 expected expression +#test({1+}, 1) -// Error: 11-11 expected expression -#[test {2*}, 2] +// Error: 10 expected expression +#test({2*}, 2) --- // Mismatched types. @@ -36,7 +36,7 @@ {(1 + "2", 40% - 1, 2 * true, 3 / 12pt)} // Error: 15-23 cannot apply '+=' to integer and string -{ #let x = 1; x += "2" } +{ let x = 1; x += "2" } --- // Bad left-hand sides of assignment. |
