aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-07-28 22:23:35 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-07-28 22:23:35 +0200
commit86a4d2053ddf0c5e1bc4ebc707c89ad3f0f449ed (patch)
treee82985be9ba531a0dbcabfd3507644650c4c0cc0 /skate
parentd8f70f891f186799363d2f246a3d78dae1d43576 (diff)
downloadrefcat-86a4d2053ddf0c5e1bc4ebc707c89ad3f0f449ed.tar.gz
refcat-86a4d2053ddf0c5e1bc4ebc707c89ad3f0f449ed.zip
reduce: adjust test
Diffstat (limited to 'skate')
-rw-r--r--skate/reduce_test.go6
1 files 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))
}
}
}