修正定向测试 Rust 格式
Project CI / Repository checks (pull_request) Successful in 2m47s
Project CI / Frontend tests (pull_request) Successful in 4m3s
Project CI / Backend tests (pull_request) Successful in 6m40s
Project CI / Native shell tests (pull_request) Successful in 18m41s

按 CI rustfmt 规范整理策划会话与视觉提示测试
This commit is contained in:
2026-09-09 07:52:46 +00:00
parent dd0fd5feff
commit 5b82a269e9
2 changed files with 5 additions and 2 deletions
@@ -1742,5 +1742,4 @@ mod tests {
assert_eq!(result.session.turn_index, session.turn_index);
assert_eq!(result.session.current_question, session.current_question);
}
}
@@ -499,7 +499,11 @@ fn visual_specialist_prompts_require_real_registered_image_deliveries() {
);
let design_prompt =
game_creator_agent_runtime_tool_plan_system_prompt_for_agent("design-foundation");
for expected in ["根据当前玩法需求编写规格和界面建议", "canvas.asset_generate", "不要使用固定图片合同"] {
for expected in [
"根据当前玩法需求编写规格和界面建议",
"canvas.asset_generate",
"不要使用固定图片合同",
] {
assert!(
design_prompt.contains(expected),
"design visual prompt missing {expected}"