()
| 506 | |
| 507 | #[test] |
| 508 | fn test_matches_prefix_empty() { |
| 509 | let opts = OutputOptions::new(); |
| 510 | |
| 511 | assert!(opts.matches_prefix("")); |
| 512 | assert!(opts.matches_prefix("anything")); |
| 513 | assert!(opts.matches_prefix("src/main.rs")); |
| 514 | assert!(opts.matches_prefix("deeply/nested/path/file.txt")); |
| 515 | } |
| 516 | |
| 517 | #[test] |
| 518 | fn test_matches_prefix_with_prefix() { |
nothing calls this directly
no outgoing calls
no test coverage detected