style: 自动格式化

This commit is contained in:
2026-10-11 15:51:20 +00:00
parent d770107445
commit 28d552e4e7
+2 -8
View File
@@ -84,10 +84,7 @@ fn control_client_end_to_end() {
let response = send_control_request_from(&config.sidecar_path, &ServerRequest::Info).expect("信息请求应成功"); let response = send_control_request_from(&config.sidecar_path, &ServerRequest::Info).expect("信息请求应成功");
match response { match response {
ServerResponse::Info { ServerResponse::Info {
socket_path, socket_path, pid, listen_addr, ..
pid,
listen_addr,
..
} => { } => {
assert_eq!(socket_path, config.endpoint.describe(), "socket 路径应与配置一致"); assert_eq!(socket_path, config.endpoint.describe(), "socket 路径应与配置一致");
assert_eq!(listen_addr, config.endpoint.describe(), "监听地址应与配置一致(Unix 臂)"); 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("信息请求应成功"); let response = send_control_request_from(&config.sidecar_path, &ServerRequest::Info).expect("信息请求应成功");
match response { match response {
ServerResponse::Info { ServerResponse::Info {
socket_path, socket_path, pid, listen_addr, ..
pid,
listen_addr,
..
} => { } => {
assert_eq!(socket_path, config.endpoint.describe(), "endpoint 值应与配置一致"); assert_eq!(socket_path, config.endpoint.describe(), "endpoint 值应与配置一致");
assert_eq!(listen_addr, config.endpoint.describe(), "监听地址应与配置一致(TCP 臂)"); assert_eq!(listen_addr, config.endpoint.describe(), "监听地址应与配置一致(TCP 臂)");