Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(*) fix lints #421

Closed
wants to merge 1 commit into from
Closed

chore(*) fix lints #421

wants to merge 1 commit into from

Conversation

rainest
Copy link
Contributor

@rainest rainest commented Feb 26, 2024

Blocking dependabot upgrades after a linter upgrade, e.g. https://github.com/Kong/go-kong/actions/runs/8045072066/job/21980638584?pr=420

Discard a bunch of unused parameters and rename a poorly-capitalized argument.

Could probably discard most of the args entirely, but 🤷 they're mostly test objects in test functions, which are kinda standard-ish, so I kept the placeholder around.

Discard a bunch of unused parameters and rename a poorly-capitalized
argument.
@rainest rainest requested a review from a team as a code owner February 26, 2024 19:05
@rainest rainest requested a review from a team February 26, 2024 19:05
@rainest rainest enabled auto-merge (rebase) February 26, 2024 19:06
@@ -492,7 +492,7 @@ func TestRoutesValidationTraditionalCompatible(T *testing.T) {
msgStartWith: "schema violation (paths.2: invalid regex:",
},
} {
T.Run(tC.name, func(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

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

We should use that t in assertions below to fail the subtest and not the whole suite

@rainest
Copy link
Contributor Author

rainest commented Mar 29, 2024

AFAICT 241dbb8 includes all of what was originally here.

@rainest rainest closed this Mar 29, 2024
auto-merge was automatically disabled March 29, 2024 21:00

Pull request was closed

@rainest rainest deleted the chore/lint-fix branch March 29, 2024 21:00
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.

3 participants