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

Function test_cross_view_options_new

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

Source from the content-addressed store, hash-verified

174
175#[test]
176fn test_cross_view_options_new() {
177 let opts = CrossViewInsertOptions::new("feature", "main");
178 assert_eq!(opts.from_view, "feature");
179 assert_eq!(opts.to_view, "main");
180 assert!(opts.up_to_tag.is_none());
181 assert!(opts.only_changes.is_empty());
182 assert!(opts.apply_dependencies);
183 assert!(!opts.allow_conflicts);
184 assert!(!opts.dry_run);
185}
186
187#[test]
188fn test_cross_view_options_up_to_tag() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected