We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 476d9e8 commit 39210ddCopy full SHA for 39210dd
src/de.rs
@@ -719,19 +719,6 @@ mod tests {
719
});
720
}
721
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
-
735
#[test]
736
fn test_u64_bounds() {
737
let rt = Runtime::default();
0 commit comments