Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
yxxhero 2026-05-21 08:47:33 +08:00 committed by GitHub
parent 940a364fdc
commit 72b91af2be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ func TestSyncInteractive(t *testing.T) {
}
}
if tc.wantDiffs > 0 && len(helm.Diffed) != tc.wantDiffs {
if len(helm.Diffed) != tc.wantDiffs {
t.Fatalf("unexpected number of diffs: got %d, want %d", len(helm.Diffed), tc.wantDiffs)
}