Skip to content

Commit

Permalink
Delete test_serialize_rejects_bool_keys
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Aug 15, 2023
1 parent 68a5582 commit 9b69f16
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1654,17 +1654,6 @@ fn test_deserialize_from_stream() {
assert_eq!(request, response);
}

#[test]
fn test_serialize_rejects_bool_keys() {
let map = treemap!(
true => 2,
false => 4,
);

let err = to_vec(&map).unwrap_err();
assert_eq!(err.to_string(), "key must be a string");
}

#[test]
fn test_serialize_rejects_adt_keys() {
let map = treemap!(
Expand Down

0 comments on commit 9b69f16

Please sign in to comment.