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

Function test_insert_options_builder

atomic-repository/src/apply/tests.rs:31–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29
30#[test]
31fn test_insert_options_builder() {
32 let opts = InsertOptions::default()
33 .apply_deps(true)
34 .allow_conflict(false)
35 .max_recursion(50);
36
37 assert!(opts.apply_dependencies);
38 assert!(!opts.allow_conflicts);
39 assert_eq!(opts.max_depth, 50);
40}
41
42// InsertStats Tests
43

Callers

nothing calls this directly

Calls 3

max_recursionMethod · 0.80
allow_conflictMethod · 0.80
apply_depsMethod · 0.80

Tested by

no test coverage detected