internal/host/plugin: Fix TestUpdateSet (#1735)

Now asserts on error on the last lookup check and removes the plugin
lookup since we're not asserting on that.
This commit is contained in:
Chris Marchesi authored and GitHub committed 2021-11-22 13:42:19 -08:00
1 parent 16b00c8254
commit 9e976cb4ae
1 file changed
+2 -1
@@ -1220,7 +1220,8 @@ func TestRepository_UpdateSet(t *testing.T) {
check(t, gotUpdatedSet)
}
gotLookupSet, gotPlugin, err := repo.LookupSet(ctx, workingSet.GetPublicId())
gotLookupSet, _, err := repo.LookupSet(ctx, workingSet.GetPublicId())
assert.NoError(err)
assert.Empty(cmp.Diff(gotUpdatedSet, gotLookupSet, protocmp.Transform()))
})
}