test helper removed

This commit is contained in:
Pavel Merzlyakov 2022-10-01 20:46:00 +03:00
parent 80158cece8
commit 69d40059ff
1 changed files with 0 additions and 10 deletions

View File

@ -140,13 +140,3 @@ func TestParseFromCode(t *testing.T) {
require.EqualValues(t, c.expectedStr, v.String(), "case#%d", caseNum)
}
}
// helper for testing other packages
func Parse(t *testing.T, str string) versioning.Version {
t.Helper()
v, err := versioning.Parse(str)
require.NoError(t, err)
return v
}