Skip to content

Commit 939805a

Browse files
authored
Fix broken test (#1452)
1 parent 3e9adc2 commit 939805a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/cmd/root_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ func TestAppHasAllCommands(t *testing.T) {
1515
require.Equal(t, "step", app.Name)
1616
require.Equal(t, "step", app.HelpName)
1717

18-
var names = make([]string, 0, len(app.Commands))
18+
names := make([]string, 0, len(app.Commands))
1919
for _, c := range app.Commands {
2020
names = append(names, c.Name)
2121
}
2222
require.Equal(t, []string{
23-
"help", "api", "path", "base64", "fileserver",
23+
"help", "api", "base64", "fileserver", "path",
2424
"certificate", "completion", "context", "crl",
2525
"crypto", "oauth", "version", "ca", "beta", "ssh",
2626
}, names)

0 commit comments

Comments
 (0)