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

Function test_default_values

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

Source from the content-addressed store, hash-verified

383
384 #[test]
385 fn test_default_values() {
386 let opts = OutputOptions::default();
387
388 assert!(opts.output_name_conflicts);
389 assert!(opts.if_modified_since.is_none());
390 assert!(opts.prefix.is_empty());
391 assert!(!opts.include_deleted);
392 assert!(opts.max_vertices.is_none());
393 assert_eq!(opts.salt, 0);
394 }
395
396 #[test]
397 fn test_new_equals_default() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected