From 791e1af8286a2e97b50ce2da800bf8168a07ec7d Mon Sep 17 00:00:00 2001 From: "Babak K. Shandiz" Date: Thu, 10 Apr 2025 14:09:49 +0100 Subject: [PATCH] Add missing `gc.AssertExpectations` calls Signed-off-by: Babak K. Shandiz --- pkg/cmd/extension/extension_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/cmd/extension/extension_test.go b/pkg/cmd/extension/extension_test.go index a0635c9a2..6928c6ed9 100644 --- a/pkg/cmd/extension/extension_test.go +++ b/pkg/cmd/extension/extension_test.go @@ -152,6 +152,7 @@ func TestIsPinnedGitExtensionUnpinned(t *testing.T) { } assert.False(t, e.IsPinned()) + gc.AssertExpectations(t) } func TestIsPinnedGitExtensionPinned(t *testing.T) { @@ -168,6 +169,7 @@ func TestIsPinnedGitExtensionPinned(t *testing.T) { } assert.True(t, e.IsPinned()) + gc.AssertExpectations(t) } func TestIsPinnedLocalExtension(t *testing.T) {