Refactor assertion formatting in agent configuration status cache tests
This commit is contained in:
1 parent
3186915c6b
commit
798e612a48
1 file changed
+4
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user