Fix tests

This commit is contained in:
Jeff Mitchell
2019-06-20 21:00:01 -04:00
parent 8a308716d6
commit 99f914ae6f
2 changed files with 3 additions and 3 deletions

View File

@@ -383,9 +383,9 @@ func TestPredict_Plugins(t *testing.T) {
act := p.plugins()
if !strutil.StrListContains(act, "kmip") {
for i, v := range exp {
for i, v := range tc.exp {
if v == "kmip" {
exp = append(exp[:i], exp[i+1:]...)
tc.exp = append(tc.exp[:i], tc.exp[i+1:]...)
break
}
}