1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-04 03:11:55 +02:00

test: __complete and __completeNoDesc

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2020-11-27 09:33:19 -03:00
parent e132922d23
commit d2f4cb7039

View File

@ -90,6 +90,10 @@ func TestShouldPrependRelease(t *testing.T) {
})
t.Run("__complete", func(t *testing.T) {
require.False(t, result([]string{"help"}))
require.False(t, result([]string{"__complete"}))
})
t.Run("__completeNoDesc", func(t *testing.T) {
require.False(t, result([]string{"__completeNoDesc"}))
})
}