Refactor assertion formatting in agent configuration status cache tests

This commit is contained in:
Luis Pater committed 2026-07-19 23:27:52 +08:00
1 parent 3186915c6b
commit 798e612a48
1 file changed
+4 -1
+4 -1
View File
@@ -9028,7 +9028,10 @@ mod tests {
let cache = AgentConfigStatusCache::default();
cache.replace(8317, Vec::new()).unwrap();
assert!(cache.get(8317).unwrap().is_some_and(|statuses| statuses.is_empty()));
assert!(cache
.get(8317)
.unwrap()
.is_some_and(|statuses| statuses.is_empty()));
assert!(cache.get(8318).unwrap().is_none());
cache.clear().unwrap();