1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-19 20:57:53 +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-10-15 15:28:52 -03:00
2024-06-22 22:43:57 -03:00
2024-09-27 10:33:17 -03:00
2024-05-26 15:02:57 -03:00
2024-08-18 16:08:55 -03:00
2024-06-22 22:43:57 -03:00
2024-11-02 15:08:58 -03:00
2024-11-04 18:20:39 +00:00
2024-06-22 22:43:57 -03:00
2024-05-26 15:02:57 -03:00
2024-05-26 15:02:57 -03:00
2024-05-26 15:02:57 -03:00
2024-08-30 17:03:10 -03:00