Closed maage closed 2 years ago
I know. A part of me somehow feels somewhat sentimental and proud of the fact that this library has been around since go1.3
(actually go1.2
) and is still tested with that version - even though nobody uses it anymore.
go1.2: 2013-12-01 go1.3: 2014-06-18
=> 8 years... 😲
So other than that this test is a bit quirky does it hurt anybody to leave it in there for my own little personal satisfaction?
But thank you @maage for caring enough about this! This means a lot to me.
I could probably rewrite this test with a build constraint to make it more stable and keep the backwards testing.
Something like this:
- minor, _ = strconv.Atoi(ver[1])
+ wo_beta := strings.Split(ver[1], "beta")
+ minor, _ = strconv.Atoi(wo_beta[0])
@maage would that work? Tested with go1.14.15, go1.17.7 and go1.18beta2
Need to find the gpg key to sign this.
Fails:
% go version go version go1.18beta2 linux/amd64
As per:
Supported versions are today 1.16 and 1.17, so we can drop this brittle check.