Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add run until parked to test_fs_operations to ensure both update chunks are completed before asserting the changes
Kay Simmons0f93386071ec
diff --git a/crates/collab/src/tests/integration_tests.rs b/crates/collab/src/tests/integration_tests.rsindex a645d6dc71e..1818361be3c 100644--- a/crates/collab/src/tests/integration_tests.rs+++ b/crates/collab/src/tests/integration_tests.rs@@ -2571,6 +2571,8 @@ async fn test_fs_operations(}).await.unwrap();+ deterministic.run_until_parked();+worktree_a.read_with(cx_a, |worktree, _| {assert_eq!(worktree