summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatt Fellenz <matt@felle.nz>2023-08-05 15:15:29 -0700
committerGitHub <noreply@github.com>2023-08-06 00:15:29 +0200
commit823fc5e5c4cb5c8555d0bb64e6f4ab4f61bce0e2 (patch)
tree8a9421121b85aa9878597c1e9eb4bae433c42d94 /tests
parente3115336bfe26cfddcce41dc9177f3bbe6d7d88e (diff)
Fix incomplete line endings (#1866)
Diffstat (limited to 'tests')
-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
+$