Skip to content

Commit

Permalink
test: fix incorrect assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ddlees committed Jan 26, 2023
1 parent 922561a commit a942107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/list-service-principal-owners_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ func TestListServicePrincipalOwners(t *testing.T) {
} else if data, ok := wrapper.Data.(models.ServicePrincipalOwners); !ok {
t.Errorf("failed type assertion: got %T, want %T", wrapper.Data, models.ServicePrincipalOwners{})
} else if len(data.Owners) != 1 {
t.Errorf("got %v, want %v", len(data.Owners), 2)
t.Errorf("got %v, want %v", len(data.Owners), 1)
}
}

0 comments on commit a942107

Please sign in to comment.