diff options
Diffstat (limited to 'tests/client_mode.rs')
| -rw-r--r-- | tests/client_mode.rs | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/client_mode.rs b/tests/client_mode.rs index b7504aca..13dca5ef 100644 --- a/tests/client_mode.rs +++ b/tests/client_mode.rs @@ -274,8 +274,8 @@ fn client_connects_and_receives_frame() { // Connect and handshake. let mut stream = UnixStream::connect(&client_socket).expect("should connect to client socket"); let (version, error) = - client_handshake(&mut stream, 11, 80, 24).expect("handshake should succeed"); - assert_eq!(version, 11, "server should report protocol version 11"); + client_handshake(&mut stream, 12, 80, 24).expect("handshake should succeed"); + assert_eq!(version, 12, "server should report protocol version 12"); assert!( error.is_none(), "handshake should not have error: {:?}", @@ -342,8 +342,8 @@ fn client_sees_headless_startup_config_diagnostic() { let mut stream = UnixStream::connect(&client_socket).expect("should connect to client socket"); let (version, error) = - client_handshake(&mut stream, 11, 80, 24).expect("handshake should succeed"); - assert_eq!(version, 11); + client_handshake(&mut stream, 12, 80, 24).expect("handshake should succeed"); + assert_eq!(version, 12); assert!(error.is_none(), "{:?}", error); stream @@ -391,8 +391,8 @@ fn client_input_forwarded_to_pane() { // Connect and handshake. let mut stream = UnixStream::connect(&client_socket).expect("should connect to client socket"); let (version, error) = - client_handshake(&mut stream, 11, 80, 24).expect("handshake should succeed"); - assert_eq!(version, 11); + client_handshake(&mut stream, 12, 80, 24).expect("handshake should succeed"); + assert_eq!(version, 12); assert!(error.is_none(), "{:?}", error); // Send an Input message containing "echo hello\n". @@ -445,8 +445,8 @@ fn client_resize_sends_message() { // Connect and handshake. let mut stream = UnixStream::connect(&client_socket).expect("should connect to client socket"); let (version, error) = - client_handshake(&mut stream, 11, 80, 24).expect("handshake should succeed"); - assert_eq!(version, 11); + client_handshake(&mut stream, 12, 80, 24).expect("handshake should succeed"); + assert_eq!(version, 12); assert!(error.is_none(), "{:?}", error); // Drain the initial frame(s). @@ -504,8 +504,8 @@ fn server_shutdown_sends_message_to_client() { // Connect and handshake. let mut stream = UnixStream::connect(&client_socket).expect("should connect to client socket"); let (version, error) = - client_handshake(&mut stream, 11, 80, 24).expect("handshake should succeed"); - assert_eq!(version, 11); + client_handshake(&mut stream, 12, 80, 24).expect("handshake should succeed"); + assert_eq!(version, 12); assert!(error.is_none(), "{:?}", error); // Send SIGINT so the server takes the graceful shutdown path and @@ -736,8 +736,8 @@ fn client_receives_frame_after_pane_output() { // Connect and handshake. let mut stream = UnixStream::connect(&client_socket).expect("should connect to client socket"); let (version, error) = - client_handshake(&mut stream, 11, 80, 24).expect("handshake should succeed"); - assert_eq!(version, 11); + client_handshake(&mut stream, 12, 80, 24).expect("handshake should succeed"); + assert_eq!(version, 12); assert!(error.is_none(), "{:?}", error); read_next_frame_payload(&mut stream, Duration::from_secs(10)) @@ -783,8 +783,8 @@ fn navigate_mode_keybind_dispatch_in_server() { // Connect and handshake. let mut stream = UnixStream::connect(&client_socket).expect("should connect to client socket"); let (version, error) = - client_handshake(&mut stream, 11, 80, 24).expect("handshake should succeed"); - assert_eq!(version, 11); + client_handshake(&mut stream, 12, 80, 24).expect("handshake should succeed"); + assert_eq!(version, 12); assert!(error.is_none(), "{:?}", error); // Drain initial frames. @@ -901,8 +901,8 @@ fn graceful_shutdown_sends_server_shutdown_to_client() { // Connect and handshake. let mut stream = UnixStream::connect(&client_socket).expect("should connect to client socket"); let (version, error) = - client_handshake(&mut stream, 11, 80, 24).expect("handshake should succeed"); - assert_eq!(version, 11); + client_handshake(&mut stream, 12, 80, 24).expect("handshake should succeed"); + assert_eq!(version, 12); assert!(error.is_none(), "{:?}", error); // Drain initial frame(s). @@ -1000,8 +1000,8 @@ fn client_receives_notify_on_agent_state_change() { // Connect as a client and perform handshake. let mut stream = UnixStream::connect(&client_socket).expect("should connect"); let (version, error) = - client_handshake(&mut stream, 11, 80, 24).expect("handshake should succeed"); - assert_eq!(version, 11); + client_handshake(&mut stream, 12, 80, 24).expect("handshake should succeed"); + assert_eq!(version, 12); assert!(error.is_none(), "{:?}", error); // Drain initial frame(s). |
