summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/markup/basic.pngbin0 -> 3827 bytes
-rw-r--r--tests/ref/markup/linebreak.pngbin3574 -> 0 bytes
-rw-r--r--tests/ref/markup/nbsp.pngbin1664 -> 0 bytes
-rw-r--r--tests/ref/markup/parbreak.pngbin1682 -> 0 bytes
-rw-r--r--tests/ref/text/shaping.png (renamed from tests/ref/text/complex.png)bin12273 -> 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.typ22
-rw-r--r--tests/typ/markup/linebreak.typ25
-rw-r--r--tests/typ/markup/nbsp.typ4
-rw-r--r--tests/typ/markup/parbreak.typ11
-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
new file mode 100644
index 00000000..a43fcbcb
--- /dev/null
+++ b/tests/ref/markup/basic.png
Binary files differ
diff --git a/tests/ref/markup/linebreak.png b/tests/ref/markup/linebreak.png
deleted file mode 100644
index 32236e74..00000000
--- a/tests/ref/markup/linebreak.png
+++ /dev/null
Binary files differ
diff --git a/tests/ref/markup/nbsp.png b/tests/ref/markup/nbsp.png
deleted file mode 100644
index 8834bb2b..00000000
--- a/tests/ref/markup/nbsp.png
+++ /dev/null
Binary files differ
diff --git a/tests/ref/markup/parbreak.png b/tests/ref/markup/parbreak.png
deleted file mode 100644
index f100b9d7..00000000
--- a/tests/ref/markup/parbreak.png
+++ /dev/null
Binary files differ
diff --git a/tests/ref/text/complex.png b/tests/ref/text/shaping.png
index 9af49f16..9af49f16 100644
--- a/tests/ref/text/complex.png
+++ b/tests/ref/text/shaping.png
Binary files differ
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