From e901937bb4846f9a2c92216cdb0d932e8dfccf64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Tue, 22 Sep 2026 12:14:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=9B=BE=E7=89=87=E8=A7=A3?= =?UTF-8?q?=E6=9E=90=E5=8E=BB=E9=87=8D=E6=B5=8B=E8=AF=95=E5=90=8D=E4=B8=8E?= =?UTF-8?q?=E7=9C=9F=E5=AE=9E=E8=A6=86=E7=9B=96=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - extract_image_urls_and_b64_values_are_deduped 更名为 extract_image_urls_are_deduped_and_b64_values_keep_payload_order - 测试名不再暗示 extract_b64_images 具备去重能力,实际只断言 URL 去重与 base64 / inline data 的载荷顺序 --- server-rs/crates/platform-image/src/image_provider/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-rs/crates/platform-image/src/image_provider/tests.rs b/server-rs/crates/platform-image/src/image_provider/tests.rs index 692e43a7e..4e745ebe6 100644 --- a/server-rs/crates/platform-image/src/image_provider/tests.rs +++ b/server-rs/crates/platform-image/src/image_provider/tests.rs @@ -171,7 +171,7 @@ fn error_status_hints_and_audit_fields_are_structured() { } #[test] -fn extract_image_urls_and_b64_values_are_deduped() { +fn extract_image_urls_are_deduped_and_b64_values_keep_payload_order() { let payload = json!({ "data": [ {"image": "https://example.com/a.png"},