From 69d40059fff4722d0c053811ff99c71a1896e236 Mon Sep 17 00:00:00 2001 From: Pavel Merzlyakov Date: Sat, 1 Oct 2022 20:46:00 +0300 Subject: [PATCH] test helper removed --- versioning_test.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/versioning_test.go b/versioning_test.go index c0c44bf..fad80f1 100644 --- a/versioning_test.go +++ b/versioning_test.go @@ -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 -}