Skip to content

Commit fed9b6f

Browse files
committed
fix tests
1 parent a58c9a9 commit fed9b6f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ide/commands/setup_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ func TestSetupCmd(t *testing.T) {
4242

4343
for _, tt := range tests {
4444
t.Run(tt.name, func(t *testing.T) {
45-
ctx := &components.Context{}
45+
ctx := &components.Context{
46+
PrintCommandHelp: func(commandName string) error {
47+
return nil
48+
},
49+
}
4650
err := SetupCmd(ctx, tt.ideName)
4751

4852
if tt.expectError {

0 commit comments

Comments
 (0)