summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/raw-theme-set-to-auto.pngbin0 -> 3221 bytes
-rw-r--r--tests/suite/text/raw.typ15
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/ref/raw-theme-set-to-auto.png b/tests/ref/raw-theme-set-to-auto.png
new file mode 100644
index 00000000..3d2c8857
--- /dev/null
+++ b/tests/ref/raw-theme-set-to-auto.png
Binary files differ
diff --git a/tests/suite/text/raw.typ b/tests/suite/text/raw.typ
index 6a3ea6bd..8ced276c 100644
--- a/tests/suite/text/raw.typ
+++ b/tests/suite/text/raw.typ
@@ -633,6 +633,21 @@ fn main() {
`code`
```
+--- raw-theme-set-to-auto ---
+```typ
+#let hi = "Hello World"
+```
+
+#set raw(theme: "/assets/themes/halcyon.tmTheme")
+```typ
+#let hi = "Hello World"
+```
+
+#set raw(theme: auto)
+```typ
+#let hi = "Hello World"
+```
+
--- raw-unclosed ---
// Test unterminated raw text.
//