test: cover editor cancellation and preserve command diagnostics

This commit is contained in:
VAIO73
2026-10-21 08:13:04 +00:00
parent 62b8b4e2ae
commit 40f967d87e
3 changed files with 39 additions and 8 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const RULES: [RegExp, string, string[]][] = [
[/^no version matched in command output$/, "commandNoVersion", []],
[/^unsupported method: ([\s\S]+)$/, "unsupportedMethod", ["method"]],
[/^unknown upstream_type: ([\s\S]+)$/, "unknownUpstream", ["type"]],
[/^([\s\S]+): not found$/, "githubNotFound", ["repo"]],
[/^([A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+): not found$/, "githubNotFound", ["repo"]],
[/^github rejected the request \(403\)$/, "githubRejected", []],
[/^github error (\d+)$/, "githubError", ["code"]],
[/^no tag \/ release name in response$/, "noRelease", []],