diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-03-29 14:51:54 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-03-29 14:51:54 +0200 |
| commit | 9c040a9d2b6aa0400df868c8a8581a9e168b9d14 (patch) | |
| tree | c9052f2dffa386a2f4343e72ae8d18e0f695b964 /tests | |
| parent | df7ba364743cbcadbded78df0250c0b58d70503f (diff) | |
Move around test cases 🚚
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/markup/basic.png | bin | 0 -> 3827 bytes | |||
| -rw-r--r-- | tests/ref/markup/linebreak.png | bin | 3574 -> 0 bytes | |||
| -rw-r--r-- | tests/ref/markup/nbsp.png | bin | 1664 -> 0 bytes | |||
| -rw-r--r-- | tests/ref/markup/parbreak.png | bin | 1682 -> 0 bytes | |||
| -rw-r--r-- | tests/ref/text/shaping.png (renamed from tests/ref/text/complex.png) | bin | 12273 -> 12273 bytes | |||
| -rw-r--r-- | tests/typ/library/basic.typ (renamed from tests/typ/library/base.typ) | 2 | ||||
| -rw-r--r-- | tests/typ/markup/basic.typ | 22 | ||||
| -rw-r--r-- | tests/typ/markup/linebreak.typ | 25 | ||||
| -rw-r--r-- | tests/typ/markup/nbsp.typ | 4 | ||||
| -rw-r--r-- | tests/typ/markup/parbreak.typ | 11 | ||||
| -rw-r--r-- | tests/typ/text/shaping.typ (renamed from tests/typ/text/complex.typ) | 0 |
11 files changed, 23 insertions, 41 deletions
diff --git a/tests/ref/markup/basic.png b/tests/ref/markup/basic.png Binary files differnew file mode 100644 index 00000000..a43fcbcb --- /dev/null +++ b/tests/ref/markup/basic.png diff --git a/tests/ref/markup/linebreak.png b/tests/ref/markup/linebreak.png Binary files differdeleted file mode 100644 index 32236e74..00000000 --- a/tests/ref/markup/linebreak.png +++ /dev/null diff --git a/tests/ref/markup/nbsp.png b/tests/ref/markup/nbsp.png Binary files differdeleted file mode 100644 index 8834bb2b..00000000 --- a/tests/ref/markup/nbsp.png +++ /dev/null diff --git a/tests/ref/markup/parbreak.png b/tests/ref/markup/parbreak.png Binary files differdeleted file mode 100644 index f100b9d7..00000000 --- a/tests/ref/markup/parbreak.png +++ /dev/null diff --git a/tests/ref/text/complex.png b/tests/ref/text/shaping.png Binary files differindex 9af49f16..9af49f16 100644 --- a/tests/ref/text/complex.png +++ b/tests/ref/text/shaping.png diff --git a/tests/typ/library/base.typ b/tests/typ/library/basic.typ index cc9f14a0..a16215a7 100644 --- a/tests/typ/library/base.typ +++ b/tests/typ/library/basic.typ @@ -1,4 +1,4 @@ -// Test the base functions. +// Test basic functions. // Ref: false --- diff --git a/tests/typ/markup/basic.typ b/tests/typ/markup/basic.typ new file mode 100644 index 00000000..3e83b911 --- /dev/null +++ b/tests/typ/markup/basic.typ @@ -0,0 +1,22 @@ +// Test basic markup. + +--- +#let linebreak() = [ + // Inside the old line break definition is still active. + #circle(radius: 2pt, fill: #000) \ +] + +A \ B \ C + +--- +// Paragraph breaks don't exist! +#let parbreak() = [ ] + +No more + +paragraph breaks + +for you! + +--- +The non-breaking~space does work. diff --git a/tests/typ/markup/linebreak.typ b/tests/typ/markup/linebreak.typ deleted file mode 100644 index b1b83dcc..00000000 --- a/tests/typ/markup/linebreak.typ +++ /dev/null @@ -1,25 +0,0 @@ -// Test forced line breaks. - ---- -// Directly after word. -Line\ Break - -// Spaces around. -Line \ Break - -// Directly before word does not work. -No \Break - -\ Before - -Multiple \ \ \ - -Times - ---- -#let linebreak() = [ - // Inside the old line break definition is still active. - #circle(radius: 2pt, fill: #000) \ -] - -A \ B \ C diff --git a/tests/typ/markup/nbsp.typ b/tests/typ/markup/nbsp.typ deleted file mode 100644 index 372268eb..00000000 --- a/tests/typ/markup/nbsp.typ +++ /dev/null @@ -1,4 +0,0 @@ -// Test the non breaking space. - ---- -The non-breaking~space does work. diff --git a/tests/typ/markup/parbreak.typ b/tests/typ/markup/parbreak.typ deleted file mode 100644 index b9b8a222..00000000 --- a/tests/typ/markup/parbreak.typ +++ /dev/null @@ -1,11 +0,0 @@ -// Test paragraph breaks. - ---- -// Paragraph breaks don't exist! -#let parbreak() = [ ] - -No more - -paragraph breaks - -for you! diff --git a/tests/typ/text/complex.typ b/tests/typ/text/shaping.typ index 567a208d..567a208d 100644 --- a/tests/typ/text/complex.typ +++ b/tests/typ/text/shaping.typ |
