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

Function test_clone

atomic-core/src/output/repo/options.rs:575–582  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

573
574 #[test]
575 fn test_clone() {
576 let opts = OutputOptions::new().with_prefix("src/").salt(42);
577
578 let cloned = opts.clone();
579
580 assert_eq!(cloned.prefix, opts.prefix);
581 assert_eq!(cloned.salt, opts.salt);
582 }
583
584 #[test]
585 fn test_debug() {

Callers

nothing calls this directly

Calls 3

saltMethod · 0.45
with_prefixMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected