FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bump go to 1.25 and update go deps by Nexucis · Pull Request #476 · gavv/httpexpect · GitHub

bump go to 1.25 and update go deps - #476

Open
Nexucis wants to merge 4 commits into
gavv:masterfrom
Nexucis:nexucis/update-go
Open

bump go to 1.25 and update go deps#476
Nexucis wants to merge 4 commits into
gavv:masterfrom
Nexucis:nexucis/update-go

Conversation

Nexucis commented Jun 5, 2026
edited
Loading

Copy link
Copy Markdown

Hello,

I would like to update the dependencies of this project. It's been a while it has not been done :)

Nexucis added 2 commits June 5, 2026 11:29
Signed-off-by: Augustin Husson <augustin.husson@amadeus.com>
Signed-off-by: Augustin Husson <augustin.husson@amadeus.com>
Nexucis marked this pull request as draft June 5, 2026 09:40
Nexucis force-pushed the nexucis/update-go branch 2 times, most recently from 2e0106b to dd453b8 Compare June 5, 2026 09:44
Signed-off-by: Augustin Husson <augustin.husson@amadeus.com>
Nexucis force-pushed the nexucis/update-go branch 4 times, most recently from f4fa424 to 23ac756 Compare June 5, 2026 11:18
Comment thread e2e/chunked_test.go
return func(ctx *fasthttp.RequestCtx) {
headers := map[string][]string{}

ctx.Request.Header.VisitAll(func(k, v []byte) {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Visitall is a deprecated function, that's why I have replaced it

Comment thread array.go
}

if !(len(a.value) == 0) {
if len(a.value) > 0 {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

it's easier and faster to read like that when you do not have to calculate in memory the boolean expression

Comment thread boolean.go Outdated
}

if !(b.value == true) {
if b.value {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

value is already a boolean, so comparing to another boolean does not make really sense

Comment thread formatter.go
switch f.DigitSeparator {
case DigitSeparatorUnderscore:
separator = "_"
break

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

break is not necessary in Golang in a switch.

Comment thread request.go
httpClient = &clientCopy
r.config.Client = &clientCopy
}
return

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

here there was a possibility for httpClient to be nil. So I have moved the return statement to avoid this situation

Nexucis force-pushed the nexucis/update-go branch 5 times, most recently from 7d1b4f8 to e85b37e Compare June 5, 2026 11:42
Signed-off-by: Augustin Husson <augustin.husson@amadeus.com>
Nexucis force-pushed the nexucis/update-go branch from e85b37e to f8f128b Compare June 5, 2026 11:49

Nexucis commented Jun 5, 2026

Copy link
Copy Markdown
Author

I don't get why the build is failing. If you are interested by this PR, do you mind to guide me @gavv ?

Nexucis marked this pull request as ready for review June 5, 2026 13:49
This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL