kevin 4 лет назад
Родитель
Сommit
e133ffd820
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      core/discov/subscriber_test.go

+ 2 - 0
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{