summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-02-28 15:50:48 +0100
committerLaurenz <laurmaedje@gmail.com>2022-02-28 23:54:34 +0100
commit3ca5b238238e1128aa7bbfbd5db9e632045d8600 (patch)
tree2471f4b340a15695b7f4d518c0b39fabaea676c4 /tests/typ
parentb63c21c91d99a1554a019dc275f955d3e6a34271 (diff)
Reorganize library
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/elements/enum.typ (renamed from tests/typ/markup/enums.typ)0
-rw-r--r--tests/typ/elements/heading.typ (renamed from tests/typ/markup/heading.typ)0
-rw-r--r--tests/typ/elements/image.typ (renamed from tests/typ/layout/image.typ)0
-rw-r--r--tests/typ/elements/list.typ (renamed from tests/typ/markup/lists.typ)0
-rw-r--r--tests/typ/elements/math.typ (renamed from tests/typ/markup/math.typ)0
-rw-r--r--tests/typ/elements/shape-aspect.typ (renamed from tests/typ/layout/shape-aspect.typ)0
-rw-r--r--tests/typ/elements/shape-circle.typ (renamed from tests/typ/layout/shape-circle.typ)0
-rw-r--r--tests/typ/elements/shape-ellipse.typ (renamed from tests/typ/layout/shape-ellipse.typ)0
-rw-r--r--tests/typ/elements/shape-fill-stroke.typ (renamed from tests/typ/layout/shape-fill-stroke.typ)0
-rw-r--r--tests/typ/elements/shape-rect.typ (renamed from tests/typ/layout/shape-rect.typ)0
-rw-r--r--tests/typ/elements/shape-square.typ (renamed from tests/typ/layout/shape-square.typ)0
-rw-r--r--tests/typ/elements/table.typ (renamed from tests/typ/layout/table.typ)0
-rw-r--r--tests/typ/layout/container.typ (renamed from tests/typ/layout/box-block.typ)0
-rw-r--r--tests/typ/markup/linebreak.typ4
-rw-r--r--tests/typ/text/deco.typ (renamed from tests/typ/text/decorations.typ)0
-rw-r--r--tests/typ/text/emph-strong.typ (renamed from tests/typ/markup/emph-strong.typ)0
-rw-r--r--tests/typ/text/escape.typ (renamed from tests/typ/markup/escape.typ)0
-rw-r--r--tests/typ/text/linebreak.typ (renamed from tests/typ/text/linebreaks.typ)2
-rw-r--r--tests/typ/text/link.typ (renamed from tests/typ/text/links.typ)0
-rw-r--r--tests/typ/text/raw.typ (renamed from tests/typ/markup/raw.typ)0
-rw-r--r--tests/typ/text/shorthands.typ (renamed from tests/typ/markup/shorthands.typ)0
-rw-r--r--tests/typ/utility/collection.typ6
-rw-r--r--tests/typ/utility/strings.typ12
23 files changed, 12 insertions, 12 deletions
diff --git a/tests/typ/markup/enums.typ b/tests/typ/elements/enum.typ
index 8ba3cea6..8ba3cea6 100644
--- a/tests/typ/markup/enums.typ
+++ b/tests/typ/elements/enum.typ
diff --git a/tests/typ/markup/heading.typ b/tests/typ/elements/heading.typ
index 2ae97aa8..2ae97aa8 100644
--- a/tests/typ/markup/heading.typ
+++ b/tests/typ/elements/heading.typ
diff --git a/tests/typ/layout/image.typ b/tests/typ/elements/image.typ
index 8817713f..8817713f 100644
--- a/tests/typ/layout/image.typ
+++ b/tests/typ/elements/image.typ
diff --git a/tests/typ/markup/lists.typ b/tests/typ/elements/list.typ
index 38fc2c63..38fc2c63 100644
--- a/tests/typ/markup/lists.typ
+++ b/tests/typ/elements/list.typ
diff --git a/tests/typ/markup/math.typ b/tests/typ/elements/math.typ
index cad01d10..cad01d10 100644
--- a/tests/typ/markup/math.typ
+++ b/tests/typ/elements/math.typ
diff --git a/tests/typ/layout/shape-aspect.typ b/tests/typ/elements/shape-aspect.typ
index 2c3e9b0c..2c3e9b0c 100644
--- a/tests/typ/layout/shape-aspect.typ
+++ b/tests/typ/elements/shape-aspect.typ
diff --git a/tests/typ/layout/shape-circle.typ b/tests/typ/elements/shape-circle.typ
index 4b978e86..4b978e86 100644
--- a/tests/typ/layout/shape-circle.typ
+++ b/tests/typ/elements/shape-circle.typ
diff --git a/tests/typ/layout/shape-ellipse.typ b/tests/typ/elements/shape-ellipse.typ
index 154144c4..154144c4 100644
--- a/tests/typ/layout/shape-ellipse.typ
+++ b/tests/typ/elements/shape-ellipse.typ
diff --git a/tests/typ/layout/shape-fill-stroke.typ b/tests/typ/elements/shape-fill-stroke.typ
index 935f3bc7..935f3bc7 100644
--- a/tests/typ/layout/shape-fill-stroke.typ
+++ b/tests/typ/elements/shape-fill-stroke.typ
diff --git a/tests/typ/layout/shape-rect.typ b/tests/typ/elements/shape-rect.typ
index add39b80..add39b80 100644
--- a/tests/typ/layout/shape-rect.typ
+++ b/tests/typ/elements/shape-rect.typ
diff --git a/tests/typ/layout/shape-square.typ b/tests/typ/elements/shape-square.typ
index c4ece778..c4ece778 100644
--- a/tests/typ/layout/shape-square.typ
+++ b/tests/typ/elements/shape-square.typ
diff --git a/tests/typ/layout/table.typ b/tests/typ/elements/table.typ
index 0372951c..0372951c 100644
--- a/tests/typ/layout/table.typ
+++ b/tests/typ/elements/table.typ
diff --git a/tests/typ/layout/box-block.typ b/tests/typ/layout/container.typ
index c6928074..c6928074 100644
--- a/tests/typ/layout/box-block.typ
+++ b/tests/typ/layout/container.typ
diff --git a/tests/typ/markup/linebreak.typ b/tests/typ/markup/linebreak.typ
deleted file mode 100644
index 7fe8a718..00000000
--- a/tests/typ/markup/linebreak.typ
+++ /dev/null
@@ -1,4 +0,0 @@
-// Test line breaks.
-
----
-A \ B \ C
diff --git a/tests/typ/text/decorations.typ b/tests/typ/text/deco.typ
index e0693ca3..e0693ca3 100644
--- a/tests/typ/text/decorations.typ
+++ b/tests/typ/text/deco.typ
diff --git a/tests/typ/markup/emph-strong.typ b/tests/typ/text/emph-strong.typ
index 9bdb5059..9bdb5059 100644
--- a/tests/typ/markup/emph-strong.typ
+++ b/tests/typ/text/emph-strong.typ
diff --git a/tests/typ/markup/escape.typ b/tests/typ/text/escape.typ
index 6ec469c1..6ec469c1 100644
--- a/tests/typ/markup/escape.typ
+++ b/tests/typ/text/escape.typ
diff --git a/tests/typ/text/linebreaks.typ b/tests/typ/text/linebreak.typ
index 25a8c5ab..ff8559d6 100644
--- a/tests/typ/text/linebreaks.typ
+++ b/tests/typ/text/linebreak.typ
@@ -1,4 +1,4 @@
-// Test line breaking special cases.
+// Test line breaks.
---
// Test overlong word that is not directly after a hard break.
diff --git a/tests/typ/text/links.typ b/tests/typ/text/link.typ
index 99037ee3..99037ee3 100644
--- a/tests/typ/text/links.typ
+++ b/tests/typ/text/link.typ
diff --git a/tests/typ/markup/raw.typ b/tests/typ/text/raw.typ
index 0e053a9b..0e053a9b 100644
--- a/tests/typ/markup/raw.typ
+++ b/tests/typ/text/raw.typ
diff --git a/tests/typ/markup/shorthands.typ b/tests/typ/text/shorthands.typ
index ef0bf866..ef0bf866 100644
--- a/tests/typ/markup/shorthands.typ
+++ b/tests/typ/text/shorthands.typ
diff --git a/tests/typ/utility/collection.typ b/tests/typ/utility/collection.typ
index 92ec2867..a4bc817e 100644
--- a/tests/typ/utility/collection.typ
+++ b/tests/typ/utility/collection.typ
@@ -2,12 +2,6 @@
// Ref: false
---
-#let memes = "ArE mEmEs gReAt?";
-#test(lower(memes), "are memes great?")
-#test(upper(memes), "ARE MEMES GREAT?")
-#test(upper("Ελλάδα"), "ΕΛΛΆΔΑ")
-
----
// Test the `len` function.
#test(len(()), 0)
#test(len(("A", "B", "C")), 3)
diff --git a/tests/typ/utility/strings.typ b/tests/typ/utility/strings.typ
index 91be0faa..4222266b 100644
--- a/tests/typ/utility/strings.typ
+++ b/tests/typ/utility/strings.typ
@@ -1,7 +1,17 @@
-// Test string functions.
+// Test string handling functions.
+// Ref: false
---
// Test the `upper`, `lower`, and number formatting functions.
+#let memes = "ArE mEmEs gReAt?";
+#test(lower(memes), "are memes great?")
+#test(upper(memes), "ARE MEMES GREAT?")
+#test(upper("Ελλάδα"), "ΕΛΛΆΔΑ")
+
+---
+// Test numbering formatting functions.
+// Ref: true
+
#upper("Abc 8")
#upper[def]