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

Function test_identity_usage_custom_name

atomic-identity/src/usage.rs:216–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214
215 #[test]
216 fn test_identity_usage_custom_name() {
217 let custom = IdentityUsage::Custom("consulting".to_string());
218 assert_eq!(custom.custom_name(), Some("consulting"));
219
220 assert_eq!(IdentityUsage::Personal.custom_name(), None);
221 }
222
223 #[test]
224 fn test_identity_usage_description() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected