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

Function test_matches_prefix_exact

atomic-core/src/record/workflow/options.rs:527–532  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

525
526 #[test]
527 fn test_matches_prefix_exact() {
528 let opts = WorkflowOptions::new().with_prefix("src/main.rs");
529
530 assert!(opts.matches_prefix("src/main.rs"));
531 assert!(!opts.matches_prefix("src/lib.rs"));
532 }
533
534 #[test]
535 fn test_exceeds_max_size_with_limit() {

Callers

nothing calls this directly

Calls 1

with_prefixMethod · 0.45

Tested by

no test coverage detected