Add missing gc.AssertExpectations calls

Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
Babak K. Shandiz 2025-04-10 14:09:49 +01:00
parent f0d4acd501
commit 791e1af828
No known key found for this signature in database
GPG key ID: 9472CAEFF56C742E

View file

@ -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) {