summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
authorLeedehai <18319900+Leedehai@users.noreply.github.com>2023-04-19 07:26:55 -0400
committerGitHub <noreply@github.com>2023-04-19 13:26:55 +0200
commitdc3017955a67e5509f6bc33cb9b4833806da4c22 (patch)
tree364304f23268107cb0443fc0037a86bd4136d9ef /tests/typ/text
parente4b09d417e9bfc2c0011299272f33c6861e96a6f (diff)
Give more specific error messages (#881)
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/escape.typ2
-rw-r--r--tests/typ/text/font.typ2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/text/escape.typ b/tests/typ/text/escape.typ
index 95a8a027..e7ec9023 100644
--- a/tests/typ/text/escape.typ
+++ b/tests/typ/text/escape.typ
@@ -27,7 +27,7 @@ let f() , ; : | + - /= == 12 "string"
---
// Unicode codepoint does not exist.
-// Error: 1-11 invalid unicode escape sequence
+// Error: 1-11 invalid unicode codepoint: FFFFFF
\u{FFFFFF}
---
diff --git a/tests/typ/text/font.typ b/tests/typ/text/font.typ
index 9844d066..07d00d14 100644
--- a/tests/typ/text/font.typ
+++ b/tests/typ/text/font.typ
@@ -56,5 +56,5 @@ Emoji: 🐪, 🌋, 🏞
#set text(size: 10pt, 12pt)
---
-// Error: 11-31 unexpected argument
+// Error: 11-31 unexpected argument: something
#set text(something: "invalid")