summaryrefslogtreecommitdiff
path: root/src/parse/incremental.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-01-31 13:44:58 +0100
committerLaurenz <laurmaedje@gmail.com>2022-01-31 13:57:15 +0100
commitfa57d86ed981373b66804972147bf59cab920e6b (patch)
treeb1385f491f5102b1503f770f11e848a8f5b8c69e /src/parse/incremental.rs
parent8f37189d6fb2e3c75e4e6a168e1ae17c568fdc4c (diff)
Fix another parser bug
Diffstat (limited to 'src/parse/incremental.rs')
-rw-r--r--src/parse/incremental.rs1
1 files changed, 1 insertions, 0 deletions
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]