()
| 222 | |
| 223 | #[test] |
| 224 | fn test_identity_usage_description() { |
| 225 | assert_eq!(IdentityUsage::Personal.description(), "Personal"); |
| 226 | assert_eq!(IdentityUsage::Work.description(), "Work"); |
| 227 | assert_eq!(IdentityUsage::Community.description(), "Community"); |
| 228 | assert_eq!(IdentityUsage::Bot.description(), "Bot"); |
| 229 | assert_eq!( |
| 230 | IdentityUsage::Custom("test".to_string()).description(), |
| 231 | "Custom: test" |
| 232 | ); |
| 233 | } |
| 234 | |
| 235 | #[test] |
| 236 | fn test_identity_usage_short_code() { |
nothing calls this directly
no outgoing calls
no test coverage detected