From 28d552e4e7bf027227177f92456a714bb462df20 Mon Sep 17 00:00:00 2001 From: pjh456 <147148383@qq.com> Date: Sun, 11 Oct 2026 15:51:20 +0000 Subject: [PATCH] =?UTF-8?q?style:=20=E8=87=AA=E5=8A=A8=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/oxide_cli/tests/server_client.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/crates/oxide_cli/tests/server_client.rs b/crates/oxide_cli/tests/server_client.rs index 992e244f..7752043e 100644 --- a/crates/oxide_cli/tests/server_client.rs +++ b/crates/oxide_cli/tests/server_client.rs @@ -84,10 +84,7 @@ fn control_client_end_to_end() { let response = send_control_request_from(&config.sidecar_path, &ServerRequest::Info).expect("信息请求应成功"); match response { ServerResponse::Info { - socket_path, - pid, - listen_addr, - .. + socket_path, pid, listen_addr, .. } => { assert_eq!(socket_path, config.endpoint.describe(), "socket 路径应与配置一致"); assert_eq!(listen_addr, config.endpoint.describe(), "监听地址应与配置一致(Unix 臂)"); @@ -159,10 +156,7 @@ fn control_client_tcp_arm_end_to_end() { let response = send_control_request_from(&config.sidecar_path, &ServerRequest::Info).expect("信息请求应成功"); match response { ServerResponse::Info { - socket_path, - pid, - listen_addr, - .. + socket_path, pid, listen_addr, .. } => { assert_eq!(socket_path, config.endpoint.describe(), "endpoint 值应与配置一致"); assert_eq!(listen_addr, config.endpoint.describe(), "监听地址应与配置一致(TCP 臂)");