Add missing gc.AssertExpectations calls
Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
parent
f0d4acd501
commit
791e1af828
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue