mirror of
https://github.com/storytold/effectcraft.git
synced 2026-12-05 21:43:10 -05:00
test(automation): one lock for the window-requests assertion
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
06076e6405
commit
5a5ecaf5d7
1 file changed
+2
-1
@@ -182,7 +182,8 @@ fn the_commands_folders_bind_calls_to_the_window_too() {
|
||||
let e = crate::tools::run(&mut b, tool, &args).err().map(|e| e.to_string()).unwrap_or_default();
|
||||
assert!(e.contains("not available while file access is confined"), "{tool}: {e}");
|
||||
}
|
||||
assert_eq!(seen.lock().unwrap().len(), 1, "only the save inside reached the window: {:?}", seen.lock().unwrap());
|
||||
let seen = seen.lock().unwrap();
|
||||
assert_eq!(seen.len(), 1, "only the save inside reached the window: {seen:?}");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user