retrieval: fix test

This commit is contained in:
Fabian Reinartz 2017-03-08 15:37:12 +01:00
parent b416ccb650
commit 5ec1efe622

View file

@ -141,7 +141,8 @@ func TestPopulateLabels(t *testing.T) {
}, },
} }
for i, c := range cases { for i, c := range cases {
in := c.in.Clone() in := c.in.Copy()
res, orig, err := populateLabels(c.in, c.cfg) res, orig, err := populateLabels(c.in, c.cfg)
if err != nil { if err != nil {
t.Fatalf("case %d: %s", i, err) t.Fatalf("case %d: %s", i, err)