summaryrefslogtreecommitdiff
path: root/tests/typ/compiler
diff options
context:
space:
mode:
authorastrale-sharp <ash4567@outlook.fr>2023-04-05 16:47:12 +0200
committerGitHub <noreply@github.com>2023-04-05 16:47:12 +0200
commit085282c138899dd5aaa06bc6ae7bd2f79d75d7e1 (patch)
treef6cc8d8e87da7bd7e0f1136491212dd3be2979e6 /tests/typ/compiler
parent222c590788a30eb14a905c7593d2edaa4b91cd34 (diff)
Appends a hint if length is expected but hint provided. (#580)
Diffstat (limited to 'tests/typ/compiler')
-rw-r--r--tests/typ/compiler/hint.typ6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/typ/compiler/hint.typ b/tests/typ/compiler/hint.typ
new file mode 100644
index 00000000..4fd25abb
--- /dev/null
+++ b/tests/typ/compiler/hint.typ
@@ -0,0 +1,6 @@
+// Test diagnostics.
+// Ref: false
+
+---
+// Error: 1:17-1:19 expected length, found integer: a length needs a unit – did you mean 12pt?
+#set text(size: 12) \ No newline at end of file