diff options
| author | Sébastien d'Herbais de Thun <sebastien.d.herbais@gmail.com> | 2023-09-29 15:04:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-29 15:04:08 +0200 |
| commit | 62f37ad4abf09b52b3062b96ab078f33f2e40b93 (patch) | |
| tree | 2fe1efd5d9ba0c63fc3ec1d17f2d3ea432a49ee9 /tests | |
| parent | ca2312deec4ed037de27358e2a2b74af24115a8a (diff) | |
Color fixes (#2262)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/bugs/raw-color-overwrite.png | bin | 0 -> 15184 bytes | |||
| -rw-r--r-- | tests/typ/bugs/raw-color-overwrite.typ | 13 |
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 Binary files differnew file mode 100644 index 00000000..b01d86a4 --- /dev/null +++ b/tests/ref/bugs/raw-color-overwrite.png 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 |
