Created
February 7, 2025 11:24
-
-
Save up1/cc3f94d93f726ab0ab6f9005d139a371 to your computer and use it in GitHub Desktop.
GitHub Copilot :: Agent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run test failure | |
➜ go test -v | |
../go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:20:2: missing go.sum entry for module providing package github.com/davecgh/go-spew/spew (imported by github.com/stretchr/testify/assert); to add: | |
go get github.com/stretchr/testify/[email protected] | |
FAIL airflow [setup failed] | |
# Resolve issue | |
➜ go mod tidy | |
go: downloading gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 | |
# Run test success | |
➜ go test -v | |
=== RUN TestGetProduct | |
=== RUN TestGetProduct/should_return_product_when_id_is_1 | |
=== RUN TestGetProduct/should_return_404_when_product_not_found | |
--- PASS: TestGetProduct (0.00s) | |
--- PASS: TestGetProduct/should_return_product_when_id_is_1 (0.00s) | |
--- PASS: TestGetProduct/should_return_404_when_product_not_found (0.00s) | |
PASS | |
ok airflow 0.317s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment