From dd331f007cb9c9968605f8d3eaef8fb498c21322 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 20 Jan 2023 14:05:17 +0100 Subject: Rewrite parser --- tests/typ/text/emphasis.typ | 6 +++--- tests/typ/text/raw.typ | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/typ/text') diff --git a/tests/typ/text/emphasis.typ b/tests/typ/text/emphasis.typ index 27e3b977..f4570031 100644 --- a/tests/typ/text/emphasis.typ +++ b/tests/typ/text/emphasis.typ @@ -38,6 +38,6 @@ _Hello World --- -// Error: 1:12 expected star -// Error: 2:1 expected star -_Cannot *be_ interleaved* +// Error: 25 expected star +// Error: 25 expected underscore +[_Cannot *be interleaved] diff --git a/tests/typ/text/raw.typ b/tests/typ/text/raw.typ index c17c8fec..96a23b66 100644 --- a/tests/typ/text/raw.typ +++ b/tests/typ/text/raw.typ @@ -41,7 +41,8 @@ The keyword ```rust let```. // First line is not dedented and leading space is still possible. ``` A B - C``` + C + ``` --- // Unterminated. -- cgit v1.2.3