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

Function test_change_args_multiple_changes

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

Source from the content-addressed store, hash-verified

971
972 #[test]
973 fn test_change_args_multiple_changes() {
974 let args = ChangeArgs {
975 changes: vec![
976 "abc123".to_string(),
977 "def456".to_string(),
978 "ghi789".to_string(),
979 ],
980 to_view: Some("main".to_string()),
981 deps: true,
982 allow_conflicts: false,
983 };
984
985 assert_eq!(args.changes.len(), 3);
986 assert_eq!(args.to_view, Some("main".to_string()));
987 }
988
989 #[test]
990 fn test_preview_args_minimal() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected