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

downloader: simplify tests #2869

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

alexandear
Copy link
Member

The PR refactors tests in the downloader package:

@alexandear alexandear force-pushed the refactor/downloader-test branch 3 times, most recently from 84c3769 to 8e0179f Compare November 7, 2024 20:45
Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

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

LGTM, but needs to fix the YAML lint error (needs 2 spaces before comment on the same line as a value).

Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM

@jandubois jandubois added this to the v1.0.1 milestone Nov 7, 2024
# https://staticcheck.dev/docs/configuration/options/#checks
checks:
- "all"
- "-SA3000" # false positive for Go 1.15+. See https://github.com/golang/go/issues/34129
Copy link
Member

Choose a reason for hiding this comment

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

Has anybody reported this to staticcheck?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. It's a bug in golangci-lint and it was fixed yesterday. Will be in the next release.

golangci/golangci-lint#5112

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

@AkihiroSuda AkihiroSuda merged commit 474eec4 into lima-vm:master Nov 7, 2024
29 checks passed
@alexandear alexandear deleted the refactor/downloader-test branch November 8, 2024 07:13
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