diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typ/compiler/for.typ | 2 | ||||
| -rw-r--r-- | tests/typ/compiler/hint.typ | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/tests/typ/compiler/for.typ b/tests/typ/compiler/for.typ index 72aaea20..7a0d9601 100644 --- a/tests/typ/compiler/for.typ +++ b/tests/typ/compiler/for.typ @@ -92,7 +92,7 @@ --- // Destructuring without parentheses. -// Error: 7 expected keyword `in`. did you mean to use a destructuring pattern? +// Error: 7 expected keyword `in` - did you mean to use a destructuring pattern? #for k, v in (a: 4, b: 5) { dont-care } diff --git a/tests/typ/compiler/hint.typ b/tests/typ/compiler/hint.typ index 88135443..981c954f 100644 --- a/tests/typ/compiler/hint.typ +++ b/tests/typ/compiler/hint.typ @@ -2,7 +2,7 @@ // Ref: false --- -// Error: 1:17-1:19 expected length, found integer: a length needs a unit – did you mean 12pt? +// Error: 1:17-1:19 expected length, found integer: a length needs a unit - did you mean 12pt? #set text(size: 12) --- @@ -11,12 +11,17 @@ a = 1-a a = a -1 - // Error: 7-10 unknown variable: a-1 – if you meant to use subtraction, try adding spaces around the minus sign. + // Error: 7-10 unknown variable: a-1 - if you meant to use subtraction, try adding spaces around the minus sign. a = a-1 } --- #{ - // Error: 3-6 unknown variable: a-1 – if you meant to use subtraction, try adding spaces around the minus sign. + // Error: 3-6 unknown variable: a-1 - if you meant to use subtraction, try adding spaces around the minus sign. a-1 = 2 } + +--- += Heading <intro> +// Error: 1:20-1:26 cannot reference heading without numbering - did you mean to use `#set heading(numbering: "1.")`? +Can not be used as @intro |
