mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-15 05:53:15 +00:00
fix assert.Equal argument order
Reference: https://godoc.org/github.com/stretchr/testify/assert#Equal Kubernetes-commit: f95bc9289d684d311c54ff66adc2dd50a4af8143
This commit is contained in:
parent
4c785b2638
commit
a52532be7b
@ -39,7 +39,7 @@ func TestGrowth(t *testing.T) {
|
|||||||
}
|
}
|
||||||
assert.Equalf(t, x, read, "expected to have read %d items: %d", x, read)
|
assert.Equalf(t, x, read, "expected to have read %d items: %d", x, read)
|
||||||
assert.Zerof(t, g.readable, "expected readable to be zero: %d", g.readable)
|
assert.Zerof(t, g.readable, "expected readable to be zero: %d", g.readable)
|
||||||
assert.Equalf(t, g.n, 16, "expected N to be 16: %d", g.n)
|
assert.Equalf(t, 16, g.n, "expected N to be 16: %d", g.n)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestEmpty(t *testing.T) {
|
func TestEmpty(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user