Skip to content

Commit 66ec903

Browse files
committed
move expected value closer to assertion
1 parent db01413 commit 66ec903

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

alterclientquotas_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ func TestClientAlterClientQuotas(t *testing.T) {
4848
t.Fatal(err)
4949
}
5050

51-
assert.Equal(t, expectedAlterResp, *alterResp)
52-
5351
expectedAlterResp := AlterClientQuotasResponse{
5452
Throttle: 0,
5553
Entries: []AlterClientQuotaResponseQuotas{
@@ -65,6 +63,8 @@ func TestClientAlterClientQuotas(t *testing.T) {
6563
},
6664
}
6765

66+
assert.Equal(t, expectedAlterResp, *alterResp)
67+
6868
describeResp, err := client.DescribeClientQuotas(context.Background(), &DescribeClientQuotasRequest{
6969
Components: []DescribeClientQuotasRequestComponent{
7070
{

0 commit comments

Comments
 (0)