summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-06-13 23:16:40 +0200
committerLaurenz <laurmaedje@gmail.com>2022-06-14 13:53:02 +0200
commitc81e2a5f56eb262663f292578c683fba7f18251f (patch)
tree6c045a8dcbec5e75e01a15f970ef8cee6ff042d0 /tests
parent891af17260a6750a74a102388a05e59cf1ffc3c1 (diff)
Many fixes
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/code/dict.pngbin4764 -> 4584 bytes
-rw-r--r--tests/typ/code/dict.typ4
-rw-r--r--tests/typeset.rs8
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/ref/code/dict.png b/tests/ref/code/dict.png
index d7ade71d..04a5dd7d 100644
--- a/tests/ref/code/dict.png
+++ b/tests/ref/code/dict.png
Binary files differ
diff --git a/tests/typ/code/dict.typ b/tests/typ/code/dict.typ
index 344d8efc..d791f77b 100644
--- a/tests/typ/code/dict.typ
+++ b/tests/typ/code/dict.typ
@@ -8,11 +8,11 @@
{(:)}
// Two pairs and string key.
-#let dict = (normal: 1, "spaced key": 2)
+#let dict = (normal: 1, "spacy key": 2)
#dict
#test(dict.normal, 1)
-#test(dict("spaced key"), 2)
+#test(dict("spacy key"), 2)
---
// Test lvalue and rvalue access.
diff --git a/tests/typeset.rs b/tests/typeset.rs
index 31068656..c88d9323 100644
--- a/tests/typeset.rs
+++ b/tests/typeset.rs
@@ -32,8 +32,8 @@ fn main() {
let args = Args::new(env::args().skip(1));
let mut filtered = Vec::new();
- // Since differents tests can affect each other through the layout cache, a
- // deterministic order is very important for reproducibility.
+ // Since differents tests can affect each other through the memoization
+ // cache, a deterministic order is important for reproducibility.
for entry in WalkDir::new(".").sort_by_file_name() {
let entry = entry.unwrap();
if entry.depth() <= 1 {
@@ -599,8 +599,8 @@ fn render_links(
}
}
-/// This is a Linear-feedback shift register using XOR as its shifting
-/// function. It can be used as PRNG.
+/// A Linear-feedback shift register using XOR as its shifting function.
+/// Can be used as PRNG.
struct LinearShift(u64);
impl LinearShift {