summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMax <me@mkor.je>2024-08-20 15:12:12 +0000
committerGitHub <noreply@github.com>2024-08-20 15:12:12 +0000
commitcefca7a7d849bc4136fe314fe59a49b70219dbd7 (patch)
tree28818df2035762251c29ba0295a48fab4284eec1 /tests
parent986d624b3a19df757b1ad05576cc0fb1d78dc2d4 (diff)
Fix typos (#4784)
Diffstat (limited to 'tests')
-rw-r--r--tests/src/logger.rs2
-rw-r--r--tests/suite/layout/measure.typ2
-rw-r--r--tests/suite/model/ref.typ2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/logger.rs b/tests/src/logger.rs
index 1acf7c14..b6b44848 100644
--- a/tests/src/logger.rs
+++ b/tests/src/logger.rs
@@ -89,7 +89,7 @@ impl<'a> Logger<'a> {
let Self { selected, passed, failed, skipped, .. } = *self;
eprintln!("{passed} passed, {failed} failed, {skipped} skipped");
- assert_eq!(selected, passed + failed, "not all tests were executed succesfully");
+ assert_eq!(selected, passed + failed, "not all tests were executed successfully");
if self.mismatched_image {
eprintln!(" pass the --update flag to update the reference images");
diff --git a/tests/suite/layout/measure.typ b/tests/suite/layout/measure.typ
index 71a6b32a..5429c611 100644
--- a/tests/suite/layout/measure.typ
+++ b/tests/suite/layout/measure.typ
@@ -24,7 +24,7 @@
--- measure-counter-width ---
// Measure a counter. Tests that the introspector-assisted location assignment
// is able to take `here()` from the context into account to find the closest
-// matching element instaed of any single one. Crucially, we need to reuse
+// matching element instead of any single one. Crucially, we need to reuse
// the same `context c.display()` to get the same span, hence `it`.
#let f(it) = context [
Is #measure(it).width wide: #it \
diff --git a/tests/suite/model/ref.typ b/tests/suite/model/ref.typ
index d0881202..cc6d6bf1 100644
--- a/tests/suite/model/ref.typ
+++ b/tests/suite/model/ref.typ
@@ -47,7 +47,7 @@ $ A = 1 $ <eq2>
#set ref(supplement: none)
@fig1, @fig2, @eq1, @eq2
---- ref-ambigious ---
+--- ref-ambiguous ---
// Test ambiguous reference.
= Introduction <arrgh>