1
0
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:
Carlos Alexandro Becker 2024-03-03 14:52:58 -03:00
parent b31a2acde9
commit 3ed614d316
No known key found for this signature in database

View File

@ -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) {