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

Function test_options_matches_prefix_empty

atomic-core/src/record/detect.rs:890–896  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

888
889 #[test]
890 fn test_options_matches_prefix_empty() {
891 let opts = DetectOptions::new();
892
893 assert!(opts.matches_prefix("anything"));
894 assert!(opts.matches_prefix("src/main.rs"));
895 assert!(opts.matches_prefix(""));
896 }
897
898 #[test]
899 fn test_options_matches_prefix_with_prefix() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected