diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/api_ping.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/api_ping.rs b/tests/api_ping.rs index bfecc27a..917eb2d9 100644 --- a/tests/api_ping.rs +++ b/tests/api_ping.rs @@ -1494,6 +1494,12 @@ fn events_subscribe_streams_pane_split_and_close_events() { let ack = reader.read_json_line(Duration::from_secs(2)); assert_eq!(ack["id"], "sub_life_b"); assert_eq!(ack["result"]["type"], "subscription_started"); + assert!( + reader + .try_read_json_line(Duration::from_millis(250)) + .is_none(), + "new subscription must not replay the root pane creation" + ); let split = send_request( &socket_path, |
