1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-15 17:51:03 +00:00

Merge pull request #426 from arangodb/add_test

Additional tests.
This commit is contained in:
Ewout Prangsma 2019-07-30 08:29:15 +02:00 committed by GitHub
commit f290aaf60e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,4 +79,13 @@ func TestMemberStatusList(t *testing.T) {
list4[1].Phase = "something-else"
assert.False(t, list.Equal(list4))
assert.False(t, list4.Equal(*list))
m4 := MemberStatus{ID: "m4"}
list5 := &MemberStatusList{m1, m2, m4}
assert.False(t, list.Equal(*list5))
assert.False(t, list5.Equal(*list))
list6 := &MemberStatusList{m1, m2, m3, m4}
assert.False(t, list.Equal(*list6))
assert.False(t, list6.Equal(*list))
}