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

Function test_matches_prefix_empty

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

Source from the content-addressed store, hash-verified

504
505 #[test]
506 fn test_matches_prefix_empty() {
507 let opts = WorkflowOptions::new();
508
509 assert!(opts.matches_prefix("anything"));
510 assert!(opts.matches_prefix("src/main.rs"));
511 assert!(opts.matches_prefix(""));
512 }
513
514 #[test]
515 fn test_matches_prefix_with_prefix() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected