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

Function test_cross_view_options_builder

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

Source from the content-addressed store, hash-verified

200
201#[test]
202fn test_cross_view_options_builder() {
203 let opts = CrossViewInsertOptions::new("feature", "main")
204 .with_dependencies(false)
205 .allow_conflicts(true)
206 .dry_run(true);
207
208 assert!(!opts.apply_dependencies);
209 assert!(opts.allow_conflicts);
210 assert!(opts.dry_run);
211}
212
213// CrossViewInsertOutcome Tests
214

Callers

nothing calls this directly

Calls 3

allow_conflictsMethod · 0.80
dry_runMethod · 0.45
with_dependenciesMethod · 0.45

Tested by

no test coverage detected