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

Function test_parse_usage_personal

atomic-cli/src/commands/identity/new.rs:253–264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251
252 #[test]
253 fn test_parse_usage_personal() {
254 let cmd = New {
255 name: "test".to_string(),
256 email: None,
257 identity_type: "user".to_string(),
258 usage: "personal".to_string(),
259 description: None,
260 set_default: false,
261 set_default_for_usage: false,
262 };
263 assert!(cmd.parse_usage().is_personal());
264 }
265
266 #[test]
267 fn test_parse_usage_work() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected