jj-lib: fix typo in tests

This commit is contained in:
George Tsiamasiotis 2024-12-19 17:14:17 +02:00 committed by Martin von Zweigbergk
parent 79421c6685
commit 843e0edcf7

View file

@ -279,7 +279,7 @@ mod tests {
#[test]
#[cfg(not(target_os = "windows"))]
fn teest_gitignore_backslash_path() {
fn test_gitignore_backslash_path() {
assert!(!matches(b"/foo/bar", "/foo\\bar"));
assert!(!matches(b"/foo/bar", "/foo/bar\\"));
@ -296,7 +296,7 @@ mod tests {
#[cfg(target_os = "windows")]
/// ignore crate consider backslashes as a directory divider only on
/// Windows.
fn teest_gitignore_backslash_path() {
fn test_gitignore_backslash_path() {
assert!(matches(b"/foo/bar", "/foo\\bar"));
assert!(matches(b"/foo/bar", "/foo/bar\\"));