diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-04-13 10:39:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-13 08:39:45 +0000 |
| commit | 020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch) | |
| tree | c0027ad22046e2726c22298461327823d6b88d53 /tests/typ/text/raw-align.typ | |
| parent | 72dd79210602ecc799726fc096b078afbb47f299 (diff) | |
Better test runner (#3922)
Diffstat (limited to 'tests/typ/text/raw-align.typ')
| -rw-r--r-- | tests/typ/text/raw-align.typ | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/tests/typ/text/raw-align.typ b/tests/typ/text/raw-align.typ deleted file mode 100644 index 1dbaad16..00000000 --- a/tests/typ/text/raw-align.typ +++ /dev/null @@ -1,37 +0,0 @@ -// Test the alignment of text inside of raw blocks. - ---- -// Text inside raw block should be unaffected by outer alignment by default. -#set align(center) -#set page(width: 180pt) -#set text(6pt) - -#lorem(20) - -```py -def something(x): - return x - -a = 342395823859823958329 -b = 324923 -``` - -#lorem(20) - ---- -// Text inside raw block should follow the specified alignment. -#set page(width: 180pt) -#set text(6pt) - -#lorem(20) -#align(center, raw( - lang: "typ", - block: true, - align: right, - "#let f(x) = x\n#align(center, line(length: 1em))", -)) -#lorem(20) - ---- -// Error: 17-20 expected `start`, `left`, `center`, `right`, or `end`, found top -#set raw(align: top) |
