Move around test cases 🚚

This commit is contained in:
Laurenz 2021-03-29 14:51:54 +02:00
parent df7ba36474
commit 9c040a9d2b
13 changed files with 25 additions and 43 deletions

View File

@ -4,7 +4,7 @@
//! definitions.
mod align;
mod base;
mod basic;
mod font;
mod image;
mod lang;
@ -17,7 +17,7 @@ mod spacing;
pub use self::image::*;
pub use align::*;
pub use base::*;
pub use basic::*;
pub use font::*;
pub use lang::*;
pub use markup::*;

BIN
tests/ref/markup/basic.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -1,4 +1,4 @@
// Test the base functions.
// Test basic functions.
// Ref: false
---

View File

@ -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.

View File

@ -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

View File

@ -1,4 +0,0 @@
// Test the non breaking space.
---
The non-breaking~space does work.

View File

@ -1,11 +0,0 @@
// Test paragraph breaks.
---
// Paragraph breaks don't exist!
#let parbreak() = [ ]
No more
paragraph breaks
for you!