Uh oh!
There was an error while loading. Please reload this page.
testing: use t.Cleanup() for test utilities, remove gotest.tools dependency - #21
Conversation
thaJeztah
commented
Oct 31, 2020
oh, hm, interesting; I just realised this was added in Go 1.14 https://github.com/golang/go/blob/go1.14/src/testing/testing.go#L547 so why does this work on go 1.12 and 1.13? 🤔 https://github.com/golang/go/blob/go1.12/src/testing/testing.go#L498 |
thaJeztah
commented
Nov 1, 2020
rebased, now that #19 was merged; this should now likely fail on Go1.13, but pass on Go1.14 and 1.15 |
thaJeztah
commented
Nov 1, 2020
Hmmm.... doesn't fail. I'm confused |
thaJeztah
commented
Nov 1, 2020
What the???? It's showing that it's installing Go 1.13, but it's actually running Go 1.14.10? |
thaJeztah
commented
Nov 1, 2020
Oh!! I know what's wrong; look at And this is how we run our tests: run: sudo go test -v ./...We're using |
thaJeztah
commented
Nov 1, 2020
Getting closer; |
thaJeztah
commented
Nov 1, 2020
Looks like |
thaJeztah
commented
Nov 1, 2020
Looks to be the here's results of running without and with Without Whereas with |
thaJeztah
commented
Nov 1, 2020
Success! It now properly fails with Go 1.13, but succeeds on Go 1.14 and Go 1.15 (as expected); |
a9d63ce to
3c61562Comparee955174 to
fd17c6fCompareSigned-off-by: Sebastiaan van Stijn <github@gone.nl>
Reduce the number of dependencies for this module. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
thaJeztah
commented
Nov 5, 2022
dims
left a comment
There was a problem hiding this comment.
Sweet! nice clean ups in go.mod/sum
thaJeztah
commented
Nov 20, 2022
Let me bring this one one 👍 |
LOL; cleaning up branches, found this one that I apparently forgot about