Skip to content

Commit 39210dd

Browse files
committed
Delete unused test
1 parent 476d9e8 commit 39210dd

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/de.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -719,19 +719,6 @@ mod tests {
719719
});
720720
}
721721

722-
#[test]
723-
#[should_panic]
724-
fn test_map_does_not_support_non_string_keys() {
725-
let rt = Runtime::default();
726-
// Sanity check to make sure it's not possible to deserialize
727-
// to a map where keys are not strings (e.g. numerical value).
728-
rt.context().with(|c| {
729-
c.eval::<Value<'_>, _>("var a = {1337: 42}; ").unwrap();
730-
let val = c.globals().get("a").unwrap();
731-
deserialize_value::<BTreeMap<i32, i32>>(val);
732-
});
733-
}
734-
735722
#[test]
736723
fn test_u64_bounds() {
737724
let rt = Runtime::default();

0 commit comments

Comments
 (0)