Skip to content

Commit

Permalink
bump tools
Browse files Browse the repository at this point in the history
  • Loading branch information
moukoublen committed Nov 4, 2023
1 parent 5674c9f commit e2df489
Show file tree
Hide file tree
Showing 10 changed files with 3,721 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ staticcheck: $(TOOLSBIN)/staticcheck
## <golangci-lint>
# https://github.com/golangci/golangci-lint/releases
GOLANGCI-LINT_CMD:=github.com/golangci/golangci-lint/cmd/golangci-lint
GOLANGCI-LINT_VER:=v1.54.2
GOLANGCI-LINT_VER:=v1.55.2
$(TOOLSDB)/golangci-lint.$(GOLANGCI-LINT_VER).$(GO_VER).ver:
$(TOOLSBIN)/golangci-lint:

Expand Down Expand Up @@ -287,7 +287,7 @@ gojq: $(TOOLSBIN)/gojq
## <air>
# https://github.com/cosmtrek/air/releases
AIR_CMD:=github.com/cosmtrek/air
AIR_VER:=v1.45.0
AIR_VER:=v1.49.0
$(TOOLSDB)/air.$(AIR_VER).$(GO_VER).ver:
$(TOOLSBIN)/air:

Expand All @@ -298,7 +298,7 @@ air: $(TOOLSBIN)/air

## <protobuf>
# https://github.com/protocolbuffers/protobuf/releases
PROTOC_VER:=v24.4
PROTOC_VER:=v25.0
$(TOOLSDB)/protoc.$(PROTOC_VER).ver:
$(TOOLSBIN)/protoc: $(TOOLSDB)/protoc.$(PROTOC_VER).ver
./scripts/install-protoc --version $(PROTOC_VER) --destination $(TOOLSDIR)
Expand Down
3 changes: 2 additions & 1 deletion internal/httpx/router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

func TestAPI_AboutRouteHandler(t *testing.T) {
Expand All @@ -24,7 +25,7 @@ func TestAPI_AboutRouteHandler(t *testing.T) {
assert.Equal(t, http.StatusOK, resp.Code)
responseBody := map[string]any{}
err = json.Unmarshal(resp.Body.Bytes(), &responseBody)
assert.NoError(t, err)
require.NoError(t, err)
assert.Contains(t, responseBody, "version")
assert.Contains(t, responseBody, "branch")
assert.Contains(t, responseBody, "commit")
Expand Down
29 changes: 29 additions & 0 deletions vendor/github.com/stretchr/testify/require/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions vendor/github.com/stretchr/testify/require/forward_requirements.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e2df489

Please sign in to comment.