From 72b91af2be32ab5572fde9c238ab1e36a7c8ce7d Mon Sep 17 00:00:00 2001 From: yxxhero <11087727+yxxhero@users.noreply.github.com> Date: Thu, 21 May 2026 08:47:33 +0800 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- pkg/app/app_sync_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/app/app_sync_test.go b/pkg/app/app_sync_test.go index 9573d42b..944ac34f 100644 --- a/pkg/app/app_sync_test.go +++ b/pkg/app/app_sync_test.go @@ -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) }