()
| 565 | |
| 566 | #[test] |
| 567 | fn test_format_usage() { |
| 568 | assert_eq!(format_usage(&IdentityUsage::Personal), "personal"); |
| 569 | assert_eq!(format_usage(&IdentityUsage::Work), "work"); |
| 570 | assert_eq!(format_usage(&IdentityUsage::Community), "community"); |
| 571 | assert_eq!(format_usage(&IdentityUsage::Bot), "bot"); |
| 572 | } |
| 573 | |
| 574 | #[test] |
| 575 | fn test_parse_identity_type() { |
nothing calls this directly
no outgoing calls
no test coverage detected