test(ecstore): fix sealed context map type

This commit is contained in:
cxymds
2026-09-05 08:32:26 +08:00
parent 3a041e0e3c
commit 2cd2f73f86
@@ -203,7 +203,7 @@ mod tests {
use parking_lot::Mutex;
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<_, _>>();
serde_json::to_string(&ordered).expect("context serializes")
}