From 4869764f7bb367aee8977bc35754a610956aa865 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 10 May 2022 12:56:48 -0500 Subject: [PATCH] test(parser): Remove unclear test case Unsure why this case is here and it causes difficulties --- crates/typos/src/tokens.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/crates/typos/src/tokens.rs b/crates/typos/src/tokens.rs index 9dc7eff..964cfc3 100644 --- a/crates/typos/src/tokens.rs +++ b/crates/typos/src/tokens.rs @@ -1132,12 +1132,6 @@ mod test { ("D41D8CD98F00B204E9800998ECF8427E", true), // A 31-character hexadecimal string: too short to be a hash. ("D41D8CD98F00B204E9800998ECF8427", false), - // A 40-character string, but with non-hex characters (in - // several positions.) - ("Z85865fd0412e40d041e861506bb3ac11a3a91e3", false), - ("485865fd04Z2e40d041e861506bb3ac11a3a91e3", false), - ("485865fd0412e40d041e8Z1506bb3ac11a3a91e3", false), - ("485865fd0412e40d041e861506bb3ac11a3a91eZ", false), ] { let input = format!("Hello {} World", hashlike); let mut expected: Vec = vec![