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

Function test_options_prefix

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

Source from the content-addressed store, hash-verified

851
852 #[test]
853 fn test_options_prefix() {
854 let opts = DetectOptions::new().with_prefix("src/");
855
856 assert_eq!(opts.prefix, "src/");
857 }
858
859 #[test]
860 fn test_options_max_diff_size() {

Callers

nothing calls this directly

Calls 1

with_prefixMethod · 0.45

Tested by

no test coverage detected