From b7980849b2b2b77826c6a733f612491018462d2c Mon Sep 17 00:00:00 2001 From: Dmitry Verkhoturov Date: Sat, 4 Jan 2020 19:46:15 +0100 Subject: [PATCH] improve TestService_WithDrops failure output --- backend/app/notify/notify_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/app/notify/notify_test.go b/backend/app/notify/notify_test.go index 4cb73443..271067e9 100644 --- a/backend/app/notify/notify_test.go +++ b/backend/app/notify/notify_test.go @@ -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) {