Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix fs2 tests
Conrad Irwin5f5234c5daa2
diff --git a/crates/gpui2/src/executor.rs b/crates/gpui2/src/executor.rsindex 6bfd9ce15a8..104f40e8f13 100644--- a/crates/gpui2/src/executor.rs+++ b/crates/gpui2/src/executor.rs@@ -220,7 +220,7 @@ impl Executor {#[cfg(any(test, feature = "test-support"))]pub fn simulate_random_delay(&self) -> impl Future<Output = ()> {- self.dispatcher.as_test().unwrap().simulate_random_delay()+ self.spawn(self.dispatcher.as_test().unwrap().simulate_random_delay())}#[cfg(any(test, feature = "test-support"))]