diff options
Diffstat (limited to 'tests/typ/compiler')
| -rw-r--r-- | tests/typ/compiler/hint.typ | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/typ/compiler/hint.typ b/tests/typ/compiler/hint.typ index 981c954f..19d233d0 100644 --- a/tests/typ/compiler/hint.typ +++ b/tests/typ/compiler/hint.typ @@ -23,5 +23,13 @@ --- = Heading <intro> -// Error: 1:20-1:26 cannot reference heading without numbering - did you mean to use `#set heading(numbering: "1.")`? +// Error: 1:20-1:26 cannot reference heading without numbering +// Hint: 1:20-1:26 did you mean to use `#set heading(numbering: "1.")`? +Can not be used as @intro + +--- +// Hints: false +// This test is more of a tooling test. It checks if hint annotation validation can be turned off. += Heading <intro> +// Error: 1:20-1:26 cannot reference heading without numbering Can not be used as @intro |
