summaryrefslogtreecommitdiff
path: root/src/syntax
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-21 17:12:16 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-21 17:12:16 +0100
commitdd9c323941260a1d08d5113dbefa023713f553da (patch)
tree48c813c01a83f5c6ca67ebbabd041c0298eb0da2 /src/syntax
parentc28d2130ddda3ae9b25cc16c3015087990ccb6e9 (diff)
Show with set
Diffstat (limited to 'src/syntax')
-rw-r--r--src/syntax/incremental.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/incremental.rs b/src/syntax/incremental.rs
index 1087bb79..6c9145a2 100644
--- a/src/syntax/incremental.rs
+++ b/src/syntax/incremental.rs
@@ -458,7 +458,7 @@ mod tests {
test(r#"a ```typst hello``` b"#, 16 .. 17, "", 0 .. 18);
test(r#"a ```typst hello```"#, 16 .. 17, "", 0 .. 18);
test("#for", 4 .. 4, "//", 0 .. 6);
- test("#show a: f as b..", 16..16, "c", 0..18);
+ test("#show f: a => b..", 16..16, "c", 0..18);
test("a\n#let \nb", 7 .. 7, "i", 2 .. 9);
test("a\n#for i \nb", 9 .. 9, "in", 2 .. 12);
test("a~https://fun/html", 13..14, "n", 0..18);