Skip to content

Commit

Permalink
edit doc
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Mar 9, 2024
1 parent 9cb9c42 commit 50a08ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/split_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,10 @@ mod test {
let p = "C:/logs/aa.log".extract_file_name();
assert_eq!(p, "aa.log");
}

#[test]
fn test_extract_file_name6() {
let p = "C:\\logs\\aa.log".extract_file_name();
assert_eq!(p, "aa.log");
}
}

0 comments on commit 50a08ca

Please sign in to comment.