1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-27 01:33:39 +02:00
goreleaser/internal
Oleksandr Redko 5a1353ddfa
test: remove redundant os.Exit in TestMain (#5257)
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 golang/go#34129.
2024-11-09 15:10:14 -03:00
..
archivefiles feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
artifact fix: standardize .Ext to always have the preceding . (#5207) 2024-10-15 14:57:27 -03:00
builders docs: fix typos in comments (#5246) 2024-11-05 20:28:16 -03:00
client docs: fix typos in comments (#5246) 2024-11-05 20:28:16 -03:00
commitauthor feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
deprecate feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
exec test: remove redundant os.Exit in TestMain (#5257) 2024-11-09 15:10:14 -03:00
experimental feat: default GOARM change to 7 (#5157) 2024-09-27 13:31:29 -03:00
extrafiles feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
gio chore: fix all existing lint issues (#4637) 2024-02-19 08:49:39 -03:00
git feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
golden feat: winget support (#4081) 2023-06-14 23:59:55 -03:00
http fix: standardize .Ext to always have the preceding . (#5207) 2024-10-15 14:57:27 -03:00
ids chore: gofumpt & lint (#2190) 2021-04-25 14:20:49 -03:00
logext feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
middleware fix: moving some logs to debug 2024-06-22 22:43:57 -03:00
pipe test: remove redundant os.Exit in TestMain (#5257) 2024-11-09 15:10:14 -03:00
pipeline docs: fix typos in comments (#5246) 2024-11-05 20:28:16 -03:00
semerrgroup fix: snapcraft temporary directory + concurrency (#4963) 2024-06-29 19:00:52 -03:00
shell feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
skips fix(cmd): handle --skip=,names... 2024-11-04 23:08:34 -03:00
static fix: init in v2 (#4915) 2024-06-05 16:28:17 -03:00
testctx fix: typo in testctx.WithConfig parameter (#5220) 2024-10-25 11:17:38 -03:00
testlib test: add missing file.Close() calls (#5167) 2024-10-03 14:37:29 -03:00
tmpl fix: tmpl always copy before modifying (#5200) 2024-10-14 23:59:26 -03:00
yaml feat(yaml): upgraded from yaml.v2 to yaml.v3 (#3004) 2022-03-29 14:00:53 -03:00