MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_matches_prefix_empty

Function test_matches_prefix_empty

atomic-core/src/output/repo/options.rs:508–515  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected