From fa57d86ed981373b66804972147bf59cab920e6b Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 31 Jan 2022 13:44:58 +0100 Subject: Fix another parser bug --- src/parse/incremental.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/parse/incremental.rs') diff --git a/src/parse/incremental.rs b/src/parse/incremental.rs index 7ddad3cd..c1da9698 100644 --- a/src/parse/incremental.rs +++ b/src/parse/incremental.rs @@ -644,6 +644,7 @@ mod tests { test("a #let rect with (fill: eastern)\nb", 16 .. 31, " (stroke: conifer", 2 .. 34); test(r#"a ```typst hello``` b"#, 16 .. 17, "", 0 .. 20); test(r#"a ```typst hello```"#, 16 .. 17, "", 0 .. 18); + test("#for", 4 .. 4, "//", 0 .. 6); } #[test] -- cgit v1.2.3