守卫测试覆盖终端、SSH、在线升级与外部 CLI

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
XuzandClaude Opus 5.5 committed 2026-10-07 22:06:46 +08:00
1 parent da546b5351
commit 85189e4412
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -386,7 +386,7 @@ impl CredentialForm {
// else checks out; until then the draft stands in for it.
let key_path = if key_from_text {
// A stand-in, never shown or kept.
"(新私钥)".to_string() // i18n: keep
"(pasted key)".to_string()
} else {
key_file
};
+5
View File
@@ -178,6 +178,7 @@ mod tests {
/// translated, until it is all of `src`.
const TRANSLATED: &[&str] = &[
"src/app",
"src/cli",
"src/connection.rs",
"src/credential",
"src/forward",
@@ -187,7 +188,11 @@ mod tests {
"src/secrets",
"src/settings",
"src/shared",
"src/ssh",
"src/terminal",
"src/update",
"src/workspace/analytics.rs",
"src/workspace/cli_changes.rs",
"src/workspace/credentials.rs",
"src/workspace/dock_skin.rs",
"src/workspace/editors.rs",