diff --git a/apps/ai-game-creator-shell/src-tauri/src/tests/configuration.rs b/apps/ai-game-creator-shell/src-tauri/src/tests/configuration.rs index 9636f7025..8b517b021 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/tests/configuration.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/tests/configuration.rs @@ -1200,11 +1200,9 @@ fn fallback_template_read_stays_on_snapshot_channel_outside_runtime_dir() { // 仓库旁边的回退模板是共享输入,读取绝不能走会收紧 owner/DACL 的私有通道。 assert!(!game_creator_config_path_is_runtime_managed(&template)); let content = read_game_creator_config_file(&template).expect("read fallback template"); - assert!( - content - .expect("fallback template content") - .contains("fallback-template-model") - ); + assert!(content + .expect("fallback template content") + .contains("fallback-template-model")); fs::remove_dir_all(root).ok(); } @@ -1222,11 +1220,9 @@ fn runtime_config_read_stays_on_private_channel_inside_runtime_dir() { assert!(game_creator_config_path_is_runtime_managed(&config_path)); let content = read_game_creator_config_file(&config_path).expect("read runtime config"); - assert!( - content - .expect("runtime config content") - .contains("managed-config-model") - ); + assert!(content + .expect("runtime config content") + .contains("managed-config-model")); fs::remove_dir_all(root).ok(); }