tests: work around codespell suggesting dows->does

This commit is contained in:
Martin von Zweigbergk 2024-11-06 15:09:47 -08:00 committed by Yuya Nishihara
parent ded48ff6e7
commit c697ee7d80

View file

@ -901,7 +901,7 @@ mod tests {
.is_err()); .is_err());
// Component containing slash (simulating Windows path separator) // Component containing slash (simulating Windows path separator)
assert!(RepoPathComponent::new_unchecked("win/dows") assert!(RepoPathComponent::new_unchecked("wind/ows")
.to_fs_name() .to_fs_name()
.is_err()); .is_err());
assert!(RepoPathComponent::new_unchecked("./file") assert!(RepoPathComponent::new_unchecked("./file")
@ -914,7 +914,7 @@ mod tests {
// Windows path separator and drive letter // Windows path separator and drive letter
if cfg!(windows) { if cfg!(windows) {
assert!(repo_path(r#"win\dows"#) assert!(repo_path(r#"wind\ows"#)
.to_fs_path(Path::new("base")) .to_fs_path(Path::new("base"))
.is_err()); .is_err());
assert!(repo_path(r#".\file"#) assert!(repo_path(r#".\file"#)