From 5775342923d7cdab77d1cf7ac9445301a0921386 Mon Sep 17 00:00:00 2001 From: Al Berez Date: Fri, 22 Mar 2024 12:44:59 -0700 Subject: [PATCH] Fix go.mod gomega When we ran Ginkgo v2 tests for the first time we got the following error: ``` go install github.com/onsi/ginkgo/v2/ginkgo go install github.com/onsi/gomega/matchers shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} go: downloading github.com/onsi/ginkgo/v2 v2.15.0 go: downloading github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 go: downloading golang.org/x/tools v0.17.0 go: downloading github.com/google/pprof v0.0.0-20230912144702-c363fe2c2ed8 missing go.sum entry for module providing package github.com/onsi/gomega/matchers; to add: go mod download github.com/onsi/gomega Error: Process completed with exit code 1. ``` --- go.sum | 2 ++ 1 file changed, 2 insertions(+) diff --git a/go.sum b/go.sum index c06e68487f9..77321bbd1cd 100644 --- a/go.sum +++ b/go.sum @@ -207,6 +207,8 @@ github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1y github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= github.com/onsi/gomega v1.20.0/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo= +github.com/onsi/gomega v1.31.1 h1:KYppCUK+bUgAZwHOu7EXVBKyQA6ILvOESHkn/tgoqvo= +github.com/onsi/gomega v1.31.1/go.mod h1:y40C95dwAD1Nz36SsEnxvfFe8FFfNxzI5eJ0EYGyAy0= github.com/onsi/gomega v1.32.0 h1:JRYU78fJ1LPxlckP6Txi/EYqJvjtMrDC04/MM5XRHPk= github.com/onsi/gomega v1.32.0/go.mod h1:a4x4gW6Pz2yK1MAmvluYme5lvYTn61afQ2ETw/8n4Lg= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=