diff --git a/tests/ref/context-delayed-warning.png b/tests/ref/context-delayed-warning.png new file mode 100644 index 000000000..a4e53e159 Binary files /dev/null and b/tests/ref/context-delayed-warning.png differ diff --git a/tests/ref/issue-4769-document-context-conditional.png b/tests/ref/issue-4769-document-context-conditional.png new file mode 100644 index 000000000..316cc6d29 Binary files /dev/null and b/tests/ref/issue-4769-document-context-conditional.png differ diff --git a/tests/suite/foundations/context.typ b/tests/suite/foundations/context.typ index e506d50db..7c71b0f95 100644 --- a/tests/suite/foundations/context.typ +++ b/tests/suite/foundations/context.typ @@ -48,4 +48,5 @@ let n = query().len() let fonts = ("nope", "Roboto") set text(font: fonts.at(n)) + lorem(5) } diff --git a/tests/suite/model/document.typ b/tests/suite/model/document.typ index 2ed199fee..beaff0538 100644 --- a/tests/suite/model/document.typ +++ b/tests/suite/model/document.typ @@ -51,4 +51,5 @@ Hello #context { set document(author: "Changed") if "Normal" in document.author set document(title: "Changed") if document.title == "Normal" + lorem(5) }