improve TestService_WithDrops failure output

This commit is contained in:
Dmitry Verkhoturov
2020-01-04 12:53:31 -06:00
committed by Umputun
parent 88e46446b6
commit b7980849b2
+2 -2
View File
@@ -59,8 +59,8 @@ func TestService_WithDrops(t *testing.T) {
s.Submit(Request{Comment: store.Comment{ID: "111"}}) // safe to send after close
assert.Equal(t, 2, len(d1.Get()), "one comment dropped from d1")
assert.Equal(t, 2, len(d2.Get()), "one comment dropped from d2")
assert.Equal(t, 2, len(d1.Get()), "one comment from three dropped from d1, got: %v", d1.Get())
assert.Equal(t, 2, len(d2.Get()), "one comment from three dropped from d2, got: %v", d2.Get())
}
func TestService_Many(t *testing.T) {