()
| 833 | |
| 834 | #[test] |
| 835 | fn test_enum_tuple_variant() { |
| 836 | #[derive(Serialize)] |
| 837 | enum E { |
| 838 | Tuple(i32, String), |
| 839 | } |
| 840 | |
| 841 | test_ser(E::Tuple(5, "foo".to_string()), r#"{"Tuple":[5,"foo"]}"#); |
| 842 | } |
| 843 | |
| 844 | #[test] |
| 845 | fn test_enum_newtype_variant() { |
nothing calls this directly
no test coverage detected