mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-07 13:31:37 +02:00
test: fix error message
This commit is contained in:
parent
b31a2acde9
commit
3ed614d316
@ -23,7 +23,7 @@ func TestReleaseAutoSnapshot(t *testing.T) {
|
||||
cmd := newReleaseCmd()
|
||||
cmd.cmd.SetArgs([]string{"--auto-snapshot", "--skip-publish"})
|
||||
require.NoError(t, cmd.cmd.Execute())
|
||||
require.FileExists(t, "dist/fake_0.0.2_checksums.txt", "should not have run with --snapshot")
|
||||
require.FileExists(t, "dist/fake_0.0.2_checksums.txt", "should have created checksums when run with --snapshot")
|
||||
})
|
||||
|
||||
t.Run("dirty", func(t *testing.T) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user