From 2a75a2d2c86f6505219e1dca4ea6eb5711a85062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Wed, 16 Sep 2026 17:05:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=E8=B5=84=E6=BA=90=20kind=20?= =?UTF-8?q?=E7=BB=91=E5=AE=9A=E6=96=AD=E8=A8=80=E7=9A=84=E8=AF=AF=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ts-rs 导出内容是双引号,测试重新生成后再校验,恢复双引号断言。 --- .../src-tauri/src/ui_editor/commands/binding.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/binding.rs b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/binding.rs index f7a37aad7..056d511da 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/binding.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/binding.rs @@ -660,12 +660,12 @@ mod tests { )) .expect("generated GameCreationAppAssetKind binding exists"); for value in [ - "'image'", - "'audio'", - "'sound-effect'", - "'background-music'", - "'font'", - "'unknown'", + "\"image\"", + "\"audio\"", + "\"sound-effect\"", + "\"background-music\"", + "\"font\"", + "\"unknown\"", ] { assert!( generated.contains(value),