aboutsummaryrefslogtreecommitdiff
path: root/package_git_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'package_git_test.go')
-rw-r--r--package_git_test.go9
1 files changed, 2 insertions, 7 deletions
diff --git a/package_git_test.go b/package_git_test.go
index 22c1b74..4a0e2f6 100644
--- a/package_git_test.go
+++ b/package_git_test.go
@@ -10,7 +10,7 @@ import (
"github.com/shuLhan/share/lib/test"
)
-func testGitScan(t *testing.T) {
+func TestGitScan(t *testing.T) {
cases := []struct {
desc string
expErr string
@@ -40,7 +40,7 @@ func testGitScan(t *testing.T) {
}
}
-func testGitScanDeps(t *testing.T) {
+func TestGitScanDeps(t *testing.T) {
cases := []struct {
expErr string
expDeps []string
@@ -66,8 +66,3 @@ func testGitScanDeps(t *testing.T) {
testEnv.pkgsMissing, true)
}
}
-
-func TestPackageGit(t *testing.T) {
- t.Run("Scan", testGitScan)
- t.Run("ScanDeps", testGitScanDeps)
-}