diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/README.md | 2 | ||||
| -rw-r--r-- | tests/src/tests.rs | 4 | ||||
| -rw-r--r-- | tests/typ/compiler/call.typ | 2 | ||||
| -rw-r--r-- | tests/typ/layout/list-marker.typ | 2 | ||||
| -rw-r--r-- | tests/typ/meta/bibliography.typ | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/tests/README.md b/tests/README.md index d57b770c..1da8a9c6 100644 --- a/tests/README.md +++ b/tests/README.md @@ -52,7 +52,7 @@ testit --pdf ## Creating new tests To keep things small, please optimize reference images before committing them. -When you use the approve buttom from the Test Helper (see the `tools` folder) +When you use the approve button from the Test Helper (see the `tools` folder) this happens automatically if you have `oxipng` installed. ```bash # One image diff --git a/tests/src/tests.rs b/tests/src/tests.rs index 07312c5c..12f1ecdc 100644 --- a/tests/src/tests.rs +++ b/tests/src/tests.rs @@ -35,7 +35,7 @@ fn main() { let args = Args::new(env::args().skip(1)); let mut filtered = Vec::new(); - // Since differents tests can affect each other through the memoization + // Since different tests can affect each other through the memoization // cache, a deterministic order is important for reproducibility. for entry in WalkDir::new("typ").sort_by_file_name() { let entry = entry.unwrap(); @@ -554,7 +554,7 @@ fn print_error(source: &Source, line: usize, (range, message): &(Range<usize>, S /// same result as a clean parse. /// /// The method will first inject 10 strings once every 400 source characters -/// and then select 5 leaf node boundries to inject an additional, randomly +/// and then select 5 leaf node boundaries to inject an additional, randomly /// chosen string from the injection list. fn test_reparse(text: &str, i: usize, rng: &mut LinearShift) -> bool { let supplements = [ diff --git a/tests/typ/compiler/call.typ b/tests/typ/compiler/call.typ index 32a54cd4..f78dec20 100644 --- a/tests/typ/compiler/call.typ +++ b/tests/typ/compiler/call.typ @@ -4,7 +4,7 @@ --- // Ref: true -// Ommitted space. +// Omitted space. #let f() = {} #[#f()*Bold*] diff --git a/tests/typ/layout/list-marker.typ b/tests/typ/layout/list-marker.typ index 97d1ce91..6f348530 100644 --- a/tests/typ/layout/list-marker.typ +++ b/tests/typ/layout/list-marker.typ @@ -1,4 +1,4 @@ -// Test list marker configuraiton. +// Test list marker configuration. --- // Test en-dash. diff --git a/tests/typ/meta/bibliography.typ b/tests/typ/meta/bibliography.typ index 0d9c19a0..f1dbe3c8 100644 --- a/tests/typ/meta/bibliography.typ +++ b/tests/typ/meta/bibliography.typ @@ -5,7 +5,7 @@ #bibliography("/bad.bib") --- -// Test ambigious reference. +// Test ambiguous reference. = Introduction <arrgh> // Error: 1-7 label occurs in the document and its bibliography @arrgh |
