()
| 579 | |
| 580 | #[test] |
| 581 | fn test_simple_glob_match() { |
| 582 | assert!(simple_glob_match("*.txt", "hello.txt")); |
| 583 | assert!(!simple_glob_match("*.txt", "hello.rs")); |
| 584 | assert!(simple_glob_match("test?", "test1")); |
| 585 | assert!(!simple_glob_match("test?", "test12")); |
| 586 | assert!(simple_glob_match("*", "anything")); |
| 587 | assert!(simple_glob_match("foo*bar", "fooXYZbar")); |
| 588 | } |
| 589 | |
| 590 | #[test] |
| 591 | fn test_glob_match_double_star() { |
nothing calls this directly
no outgoing calls
no test coverage detected