From 55d0c99e2b9eb7dcd302806deeca4c0a4eed3baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Tue, 15 Sep 2026 20:57:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=B5=84=E6=BA=90=20kind=20?= =?UTF-8?q?=E8=BD=AC=E4=B9=89=E6=B5=8B=E8=AF=95=E6=9C=9F=E6=9C=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 转义后的 ui-design 应解析为 UiDesign 枚举。 --- .../crates/shared-contracts/src/game_creation_app/asset_kind.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-rs/crates/shared-contracts/src/game_creation_app/asset_kind.rs b/server-rs/crates/shared-contracts/src/game_creation_app/asset_kind.rs index 6d38774d2..b26abbef0 100644 --- a/server-rs/crates/shared-contracts/src/game_creation_app/asset_kind.rs +++ b/server-rs/crates/shared-contracts/src/game_creation_app/asset_kind.rs @@ -254,7 +254,7 @@ mod tests { fn escaped_wire_strings_are_deserialized() { assert_eq!( serde_json::from_str::(r#""ui\u002Ddesign""#).unwrap(), - GameCreationAppAssetKind::Unknown + GameCreationAppAssetKind::UiDesign ); } }