()
| 146 | |
| 147 | #[test] |
| 148 | fn role_variants_serialize_correctly() { |
| 149 | for (role, expected) in [ |
| 150 | (OrgRole::Owner, "\"owner\""), |
| 151 | (OrgRole::Admin, "\"admin\""), |
| 152 | (OrgRole::Member, "\"member\""), |
| 153 | ] { |
| 154 | assert_eq!(serde_json::to_string(&role).unwrap(), expected); |
| 155 | } |
| 156 | } |
| 157 | } |
nothing calls this directly
no outgoing calls
no test coverage detected