summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/compute/data.typ4
-rw-r--r--tests/typ/layout/par-justify.typ2
-rw-r--r--tests/typ/math/attach-p1.typ2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/compute/data.typ b/tests/typ/compute/data.typ
index f13f7da8..7b3fc576 100644
--- a/tests/typ/compute/data.typ
+++ b/tests/typ/compute/data.typ
@@ -4,7 +4,7 @@
---
// Test reading plain text files
#let data = read("/files/hello.txt")
-#test(data, "Hello, world!")
+#test(data, "Hello, world!\n")
---
// Error: 18-38 file not found (searched at files/missing.txt)
@@ -62,7 +62,7 @@
))
---
-// Error: 7-24 failed to parse toml file: expected `.`, `=`, index 15-15
+// Error: 7-24 failed to parse toml file: expected `.`, `=`, index 15-16
#toml("/files/bad.toml")
---
diff --git a/tests/typ/layout/par-justify.typ b/tests/typ/layout/par-justify.typ
index 49694372..8d985cbf 100644
--- a/tests/typ/layout/par-justify.typ
+++ b/tests/typ/layout/par-justify.typ
@@ -30,4 +30,4 @@ D E F #linebreak(justify: true)
// Test that the last line can be shrunk
#set page(width: 155pt)
#set par(justify: true)
-This text can be fitted in one line. \ No newline at end of file
+This text can be fitted in one line.
diff --git a/tests/typ/math/attach-p1.typ b/tests/typ/math/attach-p1.typ
index 94dc48ea..830ff26e 100644
--- a/tests/typ/math/attach-p1.typ
+++ b/tests/typ/math/attach-p1.typ
@@ -56,4 +56,4 @@ $ 1/(V^2^3^4^5),
bl: attach(2, bl: attach(3, bl: attach(4, bl: 5))),
br: attach(2, br: attach(3, br: attach(4, br: 5))),
)
-$ \ No newline at end of file
+$