From 8624181eca8a2da8cee949244311abf81958302b Mon Sep 17 00:00:00 2001 From: suzmii Date: Mon, 31 Aug 2026 11:57:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20Unix=20CI=20=E7=AC=A6?= =?UTF-8?q?=E5=8F=B7=E9=93=BE=E6=8E=A5=E6=96=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新项目字体符号链接错误文案断言 同步自动工作区链接拒绝断言 --- apps/ai-game-creator-shell/src-tauri/src/commands.rs | 2 +- apps/ai-game-creator-shell/src-tauri/src/tests/project.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ai-game-creator-shell/src-tauri/src/commands.rs b/apps/ai-game-creator-shell/src-tauri/src/commands.rs index c36fb70e2..465d07443 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/commands.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/commands.rs @@ -2690,7 +2690,7 @@ mod ui_editor_font_tests { assert_eq!( read_registered_ui_editor_font(root, &entry).expect_err("reject symlink"), - "项目文件路径不能包含符号链接" + "项目文件路径不能包含符号链接或 Windows reparse point" ); } } diff --git a/apps/ai-game-creator-shell/src-tauri/src/tests/project.rs b/apps/ai-game-creator-shell/src-tauri/src/tests/project.rs index 392a6bb78..502edb732 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/tests/project.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/tests/project.rs @@ -1487,7 +1487,7 @@ fn automatic_local_game_project_rejects_symlinked_projects_root() { let error = create_automatic_local_game_project_at(&projects_root) .expect_err("symlinked automatic workspace root must fail"); - assert!(error.contains("普通文件夹")); + assert!(error.contains("不能包含符号链接")); assert!(fs::read_dir(&target).expect("read target").next().is_none()); fs::remove_dir_all(container).ok(); }