1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-21 21:07:19 +02:00
Oleksandr Redko 5a1353ddfa
test: remove redundant os.Exit in TestMain ()
This PR simplifies tests by removing redundant `os.Exit` calls in
`TestMain` functions.

As of Go 1.15, we do not need to call `os.Exit(m.Run())` explicitly, as
value returned by `m.Run()` is stored into unexported field of `m` and
go test executable is smart enough to automatically call
`os.Exit(retValue)` when `TestMain` returns. See .
2024-11-09 15:10:14 -03:00
..
2024-04-24 16:16:52 -03:00
2024-08-30 17:03:10 -03:00
2022-04-11 23:57:17 -03:00
2024-11-05 20:28:16 -03:00