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

Function test_options_clone

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

Source from the content-addressed store, hash-verified

906
907 #[test]
908 fn test_options_clone() {
909 let opts = DetectOptions::new().with_prefix("test/");
910 let cloned = opts.clone();
911
912 assert_eq!(opts, cloned);
913 }
914
915 #[test]
916 fn test_options_debug() {

Callers

nothing calls this directly

Calls 2

with_prefixMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected