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-assoc.typ | |
| parent | db1659a987cd240b78e45666617248d3d0cc7d64 (diff) | |
Refresh tests 🌊
Diffstat (limited to 'tests/lang/typ/expr-assoc.typ')
| -rw-r--r-- | tests/lang/typ/expr-assoc.typ | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lang/typ/expr-assoc.typ b/tests/lang/typ/expr-assoc.typ index 64db98c6..19c56951 100644 --- a/tests/lang/typ/expr-assoc.typ +++ b/tests/lang/typ/expr-assoc.typ @@ -3,15 +3,15 @@ --- // Math operators are left-associative. -#[test 10 / 2 / 2 == (10 / 2) / 2, true] -#[test 10 / 2 / 2 == 10 / (2 / 2), false] -#[test 1 / 2 * 3, 1.5] +#test(10 / 2 / 2 == (10 / 2) / 2, true) +#test(10 / 2 / 2 == 10 / (2 / 2), false) +#test(1 / 2 * 3, 1.5) --- // Assignment is right-associative. { - #let x = 1 - #let y = 2 + let x = 1 + let y = 2 x = y = "ok" test(x, none) test(y, "ok") |
