summaryrefslogtreecommitdiff
path: root/tests/src/tests.rs
diff options
context:
space:
mode:
authorKian-Meng Ang <kianmeng.ang@gmail.com>2023-03-22 16:02:51 +0800
committerGitHub <noreply@github.com>2023-03-22 09:02:51 +0100
commit25acefeb5b0cf0977ad01fe3128d494d9617a2cf (patch)
tree5f629b2aee909022be2be674a60d10fe59bc77c3 /tests/src/tests.rs
parent26f4321a5e9eb56b905ca9eee9cf52422c7ff859 (diff)
Fix typos (#115)
Found via `codespell -S target -L crate,ist,thi,alle,dedented,ue,tung,nd,ende,overriden,dependant`
Diffstat (limited to 'tests/src/tests.rs')
-rw-r--r--tests/src/tests.rs4
1 files changed, 2 insertions, 2 deletions
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 = [