6
0
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:
Grzegorz Dlugoszewski
2025-08-24 17:28:21 +02:00
parent 3a5fac5c2d
commit c9a5539670
2 changed files with 7 additions and 7 deletions

View File

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