diff options
| author | Shulhan <ms@kilabit.info> | 2022-01-30 11:43:05 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-01-30 11:43:05 +0700 |
| commit | 1cf06e6b9d8254600ff997c681f36514a501afa4 (patch) | |
| tree | 429f433ba9ddd10978cb7668405adeec9bd885b1 /common_test.go | |
| parent | d07445081f511dd2abb559971f2fb399793b95cf (diff) | |
| download | beku-1cf06e6b9d8254600ff997c681f36514a501afa4.tar.xz | |
go.mod: update all dependencies
This changes affect code that use lib/test.Assert().
Diffstat (limited to 'common_test.go')
| -rw-r--r-- | common_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common_test.go b/common_test.go index 8e13fa4..0ca0fea 100644 --- a/common_test.go +++ b/common_test.go @@ -49,7 +49,7 @@ func TestGetCompareURL(t *testing.T) { got := GetCompareURL(c.remoteURL, c.oldVer, c.newVer) - test.Assert(t, "", c.exp, got, true) + test.Assert(t, "", c.exp, got) } } @@ -96,7 +96,7 @@ func TestIsIgnoredDir(t *testing.T) { for _, c := range cases { t.Log(c) got = IsIgnoredDir(c.name) - test.Assert(t, "", c.exp, got, true) + test.Assert(t, "", c.exp, got) } } @@ -131,7 +131,7 @@ func TestIsTagVersion(t *testing.T) { got = IsTagVersion(c.ver) - test.Assert(t, "", c.exp, got, true) + test.Assert(t, "", c.exp, got) } } @@ -164,7 +164,7 @@ func TestParsePkgVersion(t *testing.T) { gotPkg, gotVer = parsePkgVersion(c.pkgName) - test.Assert(t, "package name", c.expPkg, gotPkg, true) - test.Assert(t, "version", c.expVer, gotVer, true) + test.Assert(t, "package name", c.expPkg, gotPkg) + test.Assert(t, "version", c.expVer, gotVer) } } |
