summaryrefslogtreecommitdiffstats
path: root/tests/legacy/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/legacy/errors.rs')
-rw-r--r--tests/legacy/errors.rs3
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!(