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

Function test_builder_salt

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

Source from the content-addressed store, hash-verified

474
475 #[test]
476 fn test_builder_salt() {
477 let opts = OutputOptions::new().salt(42);
478 assert_eq!(opts.salt, 42);
479
480 let opts = OutputOptions::new().salt(u64::MAX);
481 assert_eq!(opts.salt, u64::MAX);
482 }
483
484 #[test]
485 fn test_builder_chaining() {

Callers

nothing calls this directly

Calls 1

saltMethod · 0.45

Tested by

no test coverage detected