From e133ffd820a6b592cdd24c4b44c3e9daf0bda11b Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 31 Jul 2020 10:58:30 +0800 Subject: [PATCH] add more tests --- core/discov/subscriber_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/discov/subscriber_test.go b/core/discov/subscriber_test.go index b88b11f7c..564945e4b 100644 --- a/core/discov/subscriber_test.go +++ b/core/discov/subscriber_test.go @@ -169,6 +169,8 @@ func TestContainer(t *testing.T) { for _, exclusive := range exclusives { t.Run(test.name, func(t *testing.T) { c := newContainer(exclusive) + assert.Nil(t, c.getValues()) + for _, order := range test.do { if order.act == actionAdd { c.OnAdd(internal.KV{