Skip to content

Commit

Permalink
fix: 单元测试修改
Browse files Browse the repository at this point in the history
  • Loading branch information
yovafeng committed Jun 16, 2023
1 parent 8a10e8e commit bf5ea0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/console_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func TestConsoleCmd_Init(t *testing.T) {
ConsoleCmd.Init()

// Check that the ConsoleCmd's command has the expected Use, Short, and Long fields
assert.Equal(t, "cluster", ConsoleCmd.command.Use)
assert.Equal(t, "console", ConsoleCmd.command.Use)
assert.Equal(t, "Exec a command for a container incluster.", ConsoleCmd.command.Short)
assert.Equal(t, "Exec a command for a container incluster.", ConsoleCmd.command.Long)
assert.True(t, ConsoleCmd.command.DisableFlagsInUseLine)
Expand Down

0 comments on commit bf5ea0c

Please sign in to comment.