summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-01-13 16:50:43 +0100
committerLaurenz <laurmaedje@gmail.com>2021-01-13 16:50:43 +0100
commit6efa6c7891e15953aabc444cabcd4dc722f076bb (patch)
treeecff6b47f3d6ded6e1f39d9a20bb1bda9c02ba1e /tests
parent1cd687b681224a6a190fea5d542b92f147f9abf0 (diff)
Move basic markup tests to integration 🚚
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/basic-markup.pngbin0 -> 5623 bytes
-rw-r--r--tests/typ/basic-markup.typ22
-rw-r--r--tests/typ/func-page.typ1
3 files changed, 22 insertions, 1 deletions
diff --git a/tests/ref/basic-markup.png b/tests/ref/basic-markup.png
new file mode 100644
index 00000000..d65b7fe5
--- /dev/null
+++ b/tests/ref/basic-markup.png
Binary files differ
diff --git a/tests/typ/basic-markup.typ b/tests/typ/basic-markup.typ
new file mode 100644
index 00000000..b7630e7f
--- /dev/null
+++ b/tests/typ/basic-markup.typ
@@ -0,0 +1,22 @@
+// Test text, emph and strong.
+
+Hello 🌏!
+
+_Emph_ and *strong*!
+
+---
+// Test non-breaking space.
+
+The non-breaking~space does not work.
+
+---
+// Test backslash.
+
+// Directly after word.
+Line\ Break
+
+// Spaces around.
+Line \ Break
+
+// Directly before word does not work.
+No \Break
diff --git a/tests/typ/func-page.typ b/tests/typ/func-page.typ
index 7f87a414..6b9382b9 100644
--- a/tests/typ/func-page.typ
+++ b/tests/typ/func-page.typ
@@ -37,7 +37,6 @@ Fourth
Sixth
[page][Seventh and last]
-
---
// Test changing the layouting directions of pages.