retrieval: fix test
This commit is contained in:
parent
b416ccb650
commit
5ec1efe622
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue