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

Function test_parse_usage_work

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

Source from the content-addressed store, hash-verified

265
266 #[test]
267 fn test_parse_usage_work() {
268 let cmd = New {
269 name: "test".to_string(),
270 email: None,
271 identity_type: "user".to_string(),
272 usage: "work".to_string(),
273 description: None,
274 set_default: false,
275 set_default_for_usage: false,
276 };
277 assert!(cmd.parse_usage().is_work());
278 }
279
280 #[test]
281 fn test_parse_usage_community() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected