summaryrefslogtreecommitdiff
path: root/tests/typ/code/spread.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-12-15 20:27:41 +0100
committerLaurenz <laurmaedje@gmail.com>2021-12-15 20:27:41 +0100
commit2a3d0f4b390457174ed09347dd29e97ff9a783e4 (patch)
tree0e0634bff6b7f64131267f4cbe05651c1c91d900 /tests/typ/code/spread.typ
parent244ad386ec271ff86a2101eb4cc38d37a55552b9 (diff)
Set Rules Episode VII: The Set Awakens
Diffstat (limited to 'tests/typ/code/spread.typ')
-rw-r--r--tests/typ/code/spread.typ10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/typ/code/spread.typ b/tests/typ/code/spread.typ
index 41e790a4..5f7d2061 100644
--- a/tests/typ/code/spread.typ
+++ b/tests/typ/code/spread.typ
@@ -4,14 +4,14 @@
---
// Test standard argument overriding.
{
- let font(style: "normal", weight: "regular") = {
+ let f(style: "normal", weight: "regular") = {
"(style: " + style + ", weight: " + weight + ")"
}
- let myfont(..args) = font(weight: "bold", ..args)
- test(myfont(), "(style: normal, weight: bold)")
- test(myfont(weight: "black"), "(style: normal, weight: black)")
- test(myfont(style: "italic"), "(style: italic, weight: bold)")
+ let myf(..args) = f(weight: "bold", ..args)
+ test(myf(), "(style: normal, weight: bold)")
+ test(myf(weight: "black"), "(style: normal, weight: black)")
+ test(myf(style: "italic"), "(style: italic, weight: bold)")
}
---