mirror of
https://github.com/grdl/git-get.git
synced 2026-02-04 23:14:43 +00:00
Fix issues found by testifylint linter
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package git
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"git-get/pkg/git/test"
|
||||
"os"
|
||||
"testing"
|
||||
@@ -67,7 +66,7 @@ func TestExists(t *testing.T) {
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
_, err := Exists(test.path)
|
||||
|
||||
assert.True(t, errors.Is(err, test.want))
|
||||
assert.ErrorIs(t, err, test.want)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user