Don't trigger observations with notifications emitted prior to observing
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
5ecf945e28
commit
9885c4f6ba
@@ -4505,10 +4505,10 @@ mod tests {
|
||||
cx_a.foreground().run_until_parked();
|
||||
|
||||
// Ensure leader updates don't change the active pane of followers
|
||||
workspace_a.read_with(cx_a, |workspace, cx| {
|
||||
workspace_a.read_with(cx_a, |workspace, _| {
|
||||
assert_ne!(*workspace.active_pane(), pane_a1);
|
||||
});
|
||||
workspace_b.read_with(cx_b, |workspace, cx| {
|
||||
workspace_b.read_with(cx_b, |workspace, _| {
|
||||
assert_ne!(*workspace.active_pane(), pane_b1);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user