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 {