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

Function test_new_equals_default

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

Source from the content-addressed store, hash-verified

395
396 #[test]
397 fn test_new_equals_default() {
398 let new_opts = OutputOptions::new();
399 let default_opts = OutputOptions::default();
400
401 assert_eq!(
402 new_opts.output_name_conflicts,
403 default_opts.output_name_conflicts
404 );
405 assert_eq!(new_opts.if_modified_since, default_opts.if_modified_since);
406 assert_eq!(new_opts.prefix, default_opts.prefix);
407 assert_eq!(new_opts.include_deleted, default_opts.include_deleted);
408 assert_eq!(new_opts.max_vertices, default_opts.max_vertices);
409 assert_eq!(new_opts.salt, default_opts.salt);
410 }
411
412 // ------------------------------------------------------------------------
413 // Builder Pattern Tests

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected