Skip to content

Commit 43fe6ca

Browse files
fix(scf): remove unused test parameter
1 parent 67c9517 commit 43fe6ca

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

‎internal/cmd/beta/scf/space/role/set/set_test.go‎

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,10 @@ func TestBuildRequest(t *testing.T) {
180180

181181
func TestOutputResult(t *testing.T) {
182182
tests := []struct {
183-
name string
184-
model *inputModel
185-
resp *scf.SpaceRoleCreateResponse
186-
outputFormat string
187-
wantErr bool
183+
name string
184+
model *inputModel
185+
resp *scf.SpaceRoleCreateResponse
186+
wantErr bool
188187
}{
189188
{
190189
name: "default output",
@@ -193,11 +192,10 @@ func TestOutputResult(t *testing.T) {
193192
wantErr: false,
194193
},
195194
{
196-
name: "json output",
197-
model: fixtureInputModel(),
198-
resp: &scf.SpaceRoleCreateResponse{},
199-
outputFormat: print.JSONOutputFormat,
200-
wantErr: false,
195+
name: "json output",
196+
model: fixtureInputModel(),
197+
resp: &scf.SpaceRoleCreateResponse{},
198+
wantErr: false,
201199
},
202200
}
203201
params := testparams.NewTestParams()

0 commit comments

Comments
 (0)