From 86a4d2053ddf0c5e1bc4ebc707c89ad3f0f449ed Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 28 Jul 2021 22:23:35 +0200 Subject: reduce: adjust test --- skate/reduce_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/skate/reduce_test.go b/skate/reduce_test.go index 2e2e362..f751afe 100644 --- a/skate/reduce_test.go +++ b/skate/reduce_test.go @@ -253,7 +253,7 @@ func TestMatchedRefsExtend(t *testing.T) { Biblio: Biblio{ Title: "Title", }, - Index: 1, + Index: 2, Key: "K2", }, }, @@ -272,8 +272,8 @@ func TestMatchedRefsExtend(t *testing.T) { v.IndexedTs = "" // we do not want to mock out time, now } if !reflect.DeepEqual(result, c.result) { - t.Fatalf("[%d]: got %v, want %v (%v)", - i+1, result, c.result, pretty.Diff(result, c.result)) + t.Fatalf("[%d][%s]: got %v, want %v (%v)", + i+1, c.about, result, c.result, pretty.Diff(result, c.result)) } } } -- cgit v1.2.3