summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/base/assert.typ (renamed from tests/typ/utility/basics.typ)3
-rw-r--r--tests/typ/base/blind.typ (renamed from tests/typ/utility/blind.typ)0
-rw-r--r--tests/typ/base/calc.typ (renamed from tests/typ/utility/math.typ)0
-rw-r--r--tests/typ/base/collection.typ (renamed from tests/typ/utility/collection.typ)0
-rw-r--r--tests/typ/base/color.typ (renamed from tests/typ/utility/color.typ)0
-rw-r--r--tests/typ/base/data.typ (renamed from tests/typ/utility/data.typ)2
-rw-r--r--tests/typ/base/eval.typ (renamed from tests/typ/utility/eval.typ)0
-rw-r--r--tests/typ/base/string.typ (renamed from tests/typ/utility/string.typ)0
-rw-r--r--tests/typ/base/type.typ7
-rw-r--r--tests/typ/layout/math.typ (renamed from tests/typ/math/basic.typ)0
-rw-r--r--tests/typ/text/plain.typ (renamed from tests/typ/text/basic.typ)2
11 files changed, 10 insertions, 4 deletions
diff --git a/tests/typ/utility/basics.typ b/tests/typ/base/assert.typ
index 83d192c4..b0c8aafd 100644
--- a/tests/typ/utility/basics.typ
+++ b/tests/typ/base/assert.typ
@@ -1,8 +1,7 @@
-// Test basic functions.
+// Test the `assert` function.
// Ref: false
---
-// Test the `assert` function.
#assert(1 + 1 == 2)
#assert(range(2, 5) == (2, 3, 4))
#assert(not false)
diff --git a/tests/typ/utility/blind.typ b/tests/typ/base/blind.typ
index 17452dec..17452dec 100644
--- a/tests/typ/utility/blind.typ
+++ b/tests/typ/base/blind.typ
diff --git a/tests/typ/utility/math.typ b/tests/typ/base/calc.typ
index 4ccefa22..4ccefa22 100644
--- a/tests/typ/utility/math.typ
+++ b/tests/typ/base/calc.typ
diff --git a/tests/typ/utility/collection.typ b/tests/typ/base/collection.typ
index 46ff97ab..46ff97ab 100644
--- a/tests/typ/utility/collection.typ
+++ b/tests/typ/base/collection.typ
diff --git a/tests/typ/utility/color.typ b/tests/typ/base/color.typ
index 96d76063..96d76063 100644
--- a/tests/typ/utility/color.typ
+++ b/tests/typ/base/color.typ
diff --git a/tests/typ/utility/data.typ b/tests/typ/base/data.typ
index e90c1b0d..96b12ff5 100644
--- a/tests/typ/utility/data.typ
+++ b/tests/typ/base/data.typ
@@ -10,7 +10,7 @@
#table(columns: data(0).len(), ..cells)
---
-// Error: 6-16 file not found (searched at typ/utility/nope.csv)
+// Error: 6-16 file not found (searched at typ/base/nope.csv)
#csv("nope.csv")
---
diff --git a/tests/typ/utility/eval.typ b/tests/typ/base/eval.typ
index 86b1f0c4..86b1f0c4 100644
--- a/tests/typ/utility/eval.typ
+++ b/tests/typ/base/eval.typ
diff --git a/tests/typ/utility/string.typ b/tests/typ/base/string.typ
index 3104a3ea..3104a3ea 100644
--- a/tests/typ/utility/string.typ
+++ b/tests/typ/base/string.typ
diff --git a/tests/typ/base/type.typ b/tests/typ/base/type.typ
new file mode 100644
index 00000000..37cf8623
--- /dev/null
+++ b/tests/typ/base/type.typ
@@ -0,0 +1,7 @@
+// Test the `type` function.
+// Ref: false
+
+---
+#test(type(1), "integer")
+#test(type(ltr), "direction")
+#test(type(10 / 3), "float")
diff --git a/tests/typ/math/basic.typ b/tests/typ/layout/math.typ
index 55a853cf..55a853cf 100644
--- a/tests/typ/math/basic.typ
+++ b/tests/typ/layout/math.typ
diff --git a/tests/typ/text/basic.typ b/tests/typ/text/plain.typ
index a074a046..34a2d626 100644
--- a/tests/typ/text/basic.typ
+++ b/tests/typ/text/plain.typ
@@ -1,4 +1,4 @@
-// Test simple text.
+// Test plain text.
---
#set page(width: 250pt, height: 120pt)