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

Function test_view_args_defaults

atomic-cli/src/commands/insert.rs:937–951  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

935
936 #[test]
937 fn test_view_args_defaults() {
938 let args = ViewArgs {
939 from_view: "feature".to_string(),
940 to_view: None,
941 deps: true,
942 allow_conflicts: false,
943 dry_run: false,
944 };
945
946 assert_eq!(args.from_view, "feature");
947 assert!(args.to_view.is_none());
948 assert!(args.deps);
949 assert!(!args.allow_conflicts);
950 assert!(!args.dry_run);
951 }
952
953 #[test]
954 fn test_tag_args_with_all_options() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected