Skip to content

Commit

Permalink
test: __complete and __completeNoDesc
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Nov 27, 2020
1 parent e132922 commit d2f4cb7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/root_test.go
Expand Up @@ -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"}))
})
}

1 comment on commit d2f4cb7

@vercel
Copy link

@vercel vercel bot commented on d2f4cb7 Nov 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.