retrieval: fix test

This commit is contained in:
Fabian Reinartz 2017-03-08 15:37:12 +01:00
parent b416ccb650
commit 5ec1efe622
1 changed files with 2 additions and 1 deletions

View File

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