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.go16
1 files changed, 7 insertions, 9 deletions
diff --git a/package_git_test.go b/package_git_test.go
index 4a0e2f6..01224d2 100644
--- a/package_git_test.go
+++ b/package_git_test.go
@@ -31,12 +31,12 @@ func TestGitScan(t *testing.T) {
err = testGitPkgCur.Scan()
if err != nil {
- test.Assert(t, "err", c.expErr, err, true)
+ test.Assert(t, "err", c.expErr, err)
continue
}
- test.Assert(t, "Version", c.expVersion, testGitPkgCur.Version, true)
- test.Assert(t, "isTag", c.expIsTag, testGitPkgCur.isTag, true)
+ test.Assert(t, "Version", c.expVersion, testGitPkgCur.Version)
+ test.Assert(t, "isTag", c.expIsTag, testGitPkgCur.isTag)
}
}
@@ -56,13 +56,11 @@ func TestGitScanDeps(t *testing.T) {
err = testGitPkgCur.ScanDeps(testEnv)
if err != nil {
- test.Assert(t, "err", c.expErr, err.Error(), true)
+ test.Assert(t, "err", c.expErr, err.Error())
}
- test.Assert(t, "Deps", c.expDeps, testGitPkgCur.Deps, true)
- test.Assert(t, "DepsMissing", c.expDepsMissing,
- testGitPkgCur.DepsMissing, true)
- test.Assert(t, "env.pkgsMissing", c.expPkgsMissing,
- testEnv.pkgsMissing, true)
+ test.Assert(t, "Deps", c.expDeps, testGitPkgCur.Deps)
+ test.Assert(t, "DepsMissing", c.expDepsMissing, testGitPkgCur.DepsMissing)
+ test.Assert(t, "env.pkgsMissing", c.expPkgsMissing, testEnv.pkgsMissing)
}
}