diff options
author | David Orchard <if_coding@fastmail.com> | 2021-07-28 22:52:15 -0700 |
---|---|---|
committer | David Orchard <if_coding@fastmail.com> | 2021-08-15 10:31:18 -0700 |
commit | fc8cf0ed674cbb495df1baff34d4b832ca5fad3c (patch) | |
tree | a83c82ff11399ebd2da8d7ae58da31b7f295998c /tests/legacy/errors.rs | |
parent | 62c84297e5340d717d89c5c0b36ed86dd5ad9d2f (diff) |
Use LinkedHashMap in place of HashMap
Diffstat (limited to 'tests/legacy/errors.rs')
-rw-r--r-- | tests/legacy/errors.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/legacy/errors.rs b/tests/legacy/errors.rs index 9058c80..070eb6d 100644 --- a/tests/legacy/errors.rs +++ b/tests/legacy/errors.rs @@ -2,6 +2,7 @@ extern crate config; +use linked_hash_map::LinkedHashMap; use std::path::PathBuf; use self::config::*; @@ -93,7 +94,7 @@ fn test_error_enum_de() { ] .iter() .cloned() - .collect::<std::collections::HashMap<String, Value>>() + .collect::<LinkedHashMap<String, Value>>() .into(); let confused_d = confused_v.try_into::<Diode>(); assert_eq!( |