summaryrefslogtreecommitdiff
path: root/tests/typ/escaping.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/escaping.typ')
-rw-r--r--tests/typ/escaping.typ23
1 files changed, 8 insertions, 15 deletions
diff --git a/tests/typ/escaping.typ b/tests/typ/escaping.typ
index a562dcc0..cb663612 100644
--- a/tests/typ/escaping.typ
+++ b/tests/typ/escaping.typ
@@ -1,6 +1,4 @@
-// Test basic symbol escapes.
-
-// Escapable
+// Escapable symbols.
\\ \/ \[ \] \{ \} \* \_ \# \~ \` \$
// No need to escape.
@@ -12,21 +10,16 @@
// Escaped comments.
\//
\/\* \*\/
-\/* \*/
-
----
-// Test unicode escapes.
-//
-// error: 5:1-5:11 invalid unicode escape sequence
-// error: 8:6-8:6 expected closing brace
+\/* \*/ *
+// Test unicode escape sequence.
\u{1F3D5} == 🏕
-// Bad sequence.
+// Escaped escape sequence.
+\u{41} vs. \\u\{41\}
+
+// Error: 1:1-1:11 invalid unicode escape sequence
\u{FFFFFF}
-// Missing closing brace.
+// Error: 1:6-1:6 expected closing brace
\u{41*Bold*
-
-// Escaped escape sequence.
-\\u\{ABC\}