mirror of
https://github.com/goreleaser/goreleaser.git
synced 2026-06-19 23:24:39 +02:00
test: __complete and __completeNoDesc
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
+5
-1
@@ -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"}))
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user