From c0d33f548cb8688b2c9820ad6d5d4383371d3b95 Mon Sep 17 00:00:00 2001 From: Kurnianto Trilaksono Date: Fri, 31 May 2024 02:23:06 +0800 Subject: [PATCH] fix test --- cmd/gorepomod/internal/semver/semver_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gorepomod/internal/semver/semver_test.go b/cmd/gorepomod/internal/semver/semver_test.go index 960071d4212..a33ef4de9f2 100644 --- a/cmd/gorepomod/internal/semver/semver_test.go +++ b/cmd/gorepomod/internal/semver/semver_test.go @@ -41,7 +41,7 @@ func TestParse(t *testing.T) { "trailing CRLF": { raw: "v1.2.3\r\n", v: SemVer{major: 1, minor: 2, patch: 3}, - errMsg: "strconv.Atoi: parsing \"3\\r\\n\": invalid syntax", + errMsg: "", }, } for n, tc := range testCases {