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

Function test_change_cmd_new

atomic-cli/src/commands/change/tests.rs:197–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195
196 #[test]
197 fn test_change_cmd_new() {
198 let cmd = ChangeCmd::new();
199 assert!(cmd.identifier.is_none());
200 assert!(cmd.view.is_none());
201 assert_eq!(cmd.format, ChangeFormat::Default);
202 assert!(!cmd.show_deps);
203 assert!(!cmd.show_hunks);
204 assert!(!cmd.full_hash);
205 }
206
207 #[test]
208 fn test_change_cmd_default() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected