فهرست منبع

add more tests

kevin 4 سال پیش
والد
کامیت
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{