summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/raw-color-overwrite.pngbin0 -> 15184 bytes
-rw-r--r--tests/typ/bugs/raw-color-overwrite.typ13
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/ref/bugs/raw-color-overwrite.png b/tests/ref/bugs/raw-color-overwrite.png
new file mode 100644
index 00000000..b01d86a4
--- /dev/null
+++ b/tests/ref/bugs/raw-color-overwrite.png
Binary files differ
diff --git a/tests/typ/bugs/raw-color-overwrite.typ b/tests/typ/bugs/raw-color-overwrite.typ
new file mode 100644
index 00000000..ec306ef1
--- /dev/null
+++ b/tests/typ/bugs/raw-color-overwrite.typ
@@ -0,0 +1,13 @@
+// Test that the color of a raw block is not overwritten
+
+---
+
+#show raw: set text(fill: blue)
+
+`Hello, World!`
+
+```rs
+fn main() {
+ println!("Hello, World!");
+}
+``` \ No newline at end of file