summaryrefslogtreecommitdiff
path: root/tests/typ/layout/code-indent-shrink.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-13 10:39:45 +0200
committerGitHub <noreply@github.com>2024-04-13 08:39:45 +0000
commit020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch)
treec0027ad22046e2726c22298461327823d6b88d53 /tests/typ/layout/code-indent-shrink.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/layout/code-indent-shrink.typ')
-rw-r--r--tests/typ/layout/code-indent-shrink.typ28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/typ/layout/code-indent-shrink.typ b/tests/typ/layout/code-indent-shrink.typ
deleted file mode 100644
index 1527e061..00000000
--- a/tests/typ/layout/code-indent-shrink.typ
+++ /dev/null
@@ -1,28 +0,0 @@
-// Spaces in raw blocks should not be shrunk
-// as it would mess up the indentation of code
-// https://github.com/typst/typst/issues/3191
-
----
-#set par(justify: true)
-
-#show raw.where(block: true): block.with(
- fill: luma(240),
- inset: 10pt,
-)
-
-#block(
- width: 60%,
- ```py
- for x in xs:
- print("x=",x)
- ```
-)
-
----
-// In normal paragraphs, spaces should still be shrunk.
-// The first line here serves as a reference, while the second
-// uses non-breaking spaces to create an overflowing line
-// (which should shrink).
-~~~~No shrinking here
-
-~~~~The~spaces~on~this~line~shrink \ No newline at end of file