From 6b0aa7d75d84ca0d7b1af61bdf857600048f81c0 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Thu, 15 Jul 2021 14:21:57 -0400 Subject: [PATCH] fix error message --- internal/libs/clist/clist_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/libs/clist/clist_test.go b/internal/libs/clist/clist_test.go index 86cddae68..d8f47b371 100644 --- a/internal/libs/clist/clist_test.go +++ b/internal/libs/clist/clist_test.go @@ -369,7 +369,7 @@ func TestNextWaitChan(t *testing.T) { select { case <-el2.NextWaitChan(): - t.Fatal("nextWaitChan should have been closed") + t.Fatal("nextWaitChan should not have been closed") case <-time.After(10 * time.Millisecond): } @@ -384,7 +384,7 @@ func TestNextWaitChan(t *testing.T) { el3 := l.PushBack(3) select { case <-el3.NextWaitChan(): - t.Fatal("nextWaitChan should have been closed") + t.Fatal("nextWaitChan should not have been closed") case <-time.After(10 * time.Millisecond): } l.Clear()