mirror of
https://github.com/storytold/effectcraft.git
synced 2026-12-05 08:21:21 -05:00
test(automation): one lock for the window-requests assertion
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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