We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55d115a commit fb35cbbCopy full SHA for fb35cbb
1 file changed
cmd/install_test.go
@@ -4,7 +4,6 @@ import (
4
"path/filepath"
5
"testing"
6
7
- "github.com/spf13/cobra"
8
"github.com/stretchr/testify/assert"
9
"github.com/stretchr/testify/require"
10
)
@@ -24,5 +23,6 @@ func TestInstallSkillsCmd(t *testing.T) {
24
23
}
25
26
func TestInstallSkillsCmd_NoArgs(t *testing.T) {
27
- assert.Equal(t, installSkillsCmd.Args, cobra.NoArgs)
+ err := installSkillsCmd.Args(installSkillsCmd, []string{"unexpected"})
+ assert.Error(t, err)
28
0 commit comments