mirror of
https://github.com/rustfs/rustfs.git
synced 2026-09-07 20:46:11 +00:00
test(ecstore): match sealed context fixture map type
This commit is contained in:
@@ -203,7 +203,7 @@ mod tests {
|
|||||||
use parking_lot::Mutex;
|
use parking_lot::Mutex;
|
||||||
use std::collections::BTreeMap;
|
use std::collections::BTreeMap;
|
||||||
|
|
||||||
fn encode_context(context: &HashMap<String, String>) -> String {
|
fn encode_context(context: &BTreeMap<String, String>) -> String {
|
||||||
let ordered = context.iter().collect::<BTreeMap<_, _>>();
|
let ordered = context.iter().collect::<BTreeMap<_, _>>();
|
||||||
serde_json::to_string(&ordered).expect("context serializes")
|
serde_json::to_string(&ordered).expect("context serializes")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user