summaryrefslogtreecommitdiff
path: root/tests/suite/styling/fold.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/suite/styling/fold.typ')
-rw-r--r--tests/suite/styling/fold.typ12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/suite/styling/fold.typ b/tests/suite/styling/fold.typ
index 4b77f9d5..104d3d1a 100644
--- a/tests/suite/styling/fold.typ
+++ b/tests/suite/styling/fold.typ
@@ -13,12 +13,8 @@ fi
#let c = counter("mycounter")
#c.update(1)
-// Warning: 1:2-7:3 `locate` with callback function is deprecated
-// Hint: 1:2-7:3 use a `context` expression instead
-#locate(loc => [
+#context [
#c.update(2)
- #c.at(loc) \
- // Warning: 12-36 `locate` with callback function is deprecated
- // Hint: 12-36 use a `context` expression instead
- Second: #locate(loc => c.at(loc))
-])
+ #c.get() \
+ Second: #context c.get()
+]