Skip to content

Commit

Permalink
jj-lib: fix typo in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gtsiam authored and martinvonz committed Dec 19, 2024
1 parent 79421c6 commit 843e0ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/gitignore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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\\"));

Expand All @@ -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\\"));

Expand Down

0 comments on commit 843e0ed

Please sign in to comment.