fix: update doctor-git test to match PR #1633 behavior change
integration_branch_missing is now auto-fixable (fallback to main branch detection) with warning severity, not error. Test expectations updated. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
69c0e84b24
commit
a3f5e87cb7
1 changed files with 2 additions and 2 deletions
|
|
@ -318,8 +318,8 @@ async function main(): Promise<void> {
|
|||
missingBranchIssues[0]?.message.includes("feat/does-not-exist"),
|
||||
"message includes the missing branch name",
|
||||
);
|
||||
assertEq(missingBranchIssues[0]?.fixable, false, "integration_branch_missing is not auto-fixable");
|
||||
assertEq(missingBranchIssues[0]?.severity, "error", "severity is error");
|
||||
assertEq(missingBranchIssues[0]?.fixable, true, "integration_branch_missing is auto-fixable via fallback");
|
||||
assertEq(missingBranchIssues[0]?.severity, "warning", "severity is warning (fallback available)");
|
||||
}
|
||||
} else {
|
||||
console.log("\n=== integration_branch_missing (skipped on Windows) ===");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue