summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLingkang <karlzhu12@gmail.com>2024-08-16 03:53:59 +0800
committerGitHub <noreply@github.com>2024-08-15 19:53:59 +0000
commit0edd8ec93d16a397e58cebaa215b6c14cd24de8f (patch)
treeb8152006cb1d46d2772868e365168d1529a32618 /tests
parentccd45241061be149687aec04db43dec96d8a961d (diff)
Improve `repr` for `type(none)` and `type(auto)` (#4730)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/suite/foundations/type.typ6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/suite/foundations/type.typ b/tests/suite/foundations/type.typ
index f2a98845..6ab4be4f 100644
--- a/tests/suite/foundations/type.typ
+++ b/tests/suite/foundations/type.typ
@@ -23,3 +23,9 @@
--- issue-3110-associated-function ---
// Error: 6-18 type string does not contain field `from-unĂ¯code`
#str.from-unĂ¯code(97)
+
+--- issue-2747-repr-auto-none ---
+#test(repr(none), "none")
+#test(repr(auto), "auto")
+#test(repr(type(none)), "type(none)")
+#test(repr(type(auto)), "type(auto)")