test helper removed
This commit is contained in:
parent
80158cece8
commit
69d40059ff
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue