summaryrefslogtreecommitdiff
path: root/tests/typ/compiler
diff options
context:
space:
mode:
authorfrozolotl <44589151+frozolotl@users.noreply.github.com>2023-11-21 18:05:12 +0100
committerGitHub <noreply@github.com>2023-11-21 18:05:12 +0100
commit55799f73952f66b937a75f5e7f99604987238399 (patch)
treee079cc8e45e9dcfe599c17307068ce94133e5c1d /tests/typ/compiler
parent36c73016086436eb4cda1c61ab8200cafc38a719 (diff)
Make `color.components`' alpha parameter named (#2734)
Diffstat (limited to 'tests/typ/compiler')
-rw-r--r--tests/typ/compiler/methods.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/compiler/methods.typ b/tests/typ/compiler/methods.typ
index 4c483786..bd38bbd4 100644
--- a/tests/typ/compiler/methods.typ
+++ b/tests/typ/compiler/methods.typ
@@ -122,7 +122,7 @@
#test(luma(40).to-hex(), "#282828")
#test-repr(cmyk(4%, 5%, 6%, 7%).to-hex(), "#e4e1df")
#test-repr(rgb(cmyk(4%, 5%, 6%, 7%)).components(), (89.28%, 88.35%, 87.42%, 100%))
-#test-repr(rgb(luma(40%)).components(false), (40%, 40%, 40%))
+#test-repr(rgb(luma(40%)).components(alpha: false), (40%, 40%, 40%))
#test-repr(cmyk(luma(40)).components(), (11.76%, 10.67%, 10.51%, 14.12%))
#test-repr(cmyk(rgb(1, 2, 3)), cmyk(66.67%, 33.33%, 0%, 98.82%))
#test-repr(luma(rgb(1, 2, 3)), luma(0.73%))