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

compose/loader: fix TestIsAbs not testing all combinations #2174

Merged
merged 1 commit into from
Oct 29, 2019

Conversation

thaJeztah
Copy link
Member

This test was intending to run all tests, but didn't, which was
caught by golangci-lint;

cli/compose/loader/windows_path_test.go:46:17: SA4010: this result of append is never used, except maybe in other appends (staticcheck)
	tests := append(isabstests, winisabstests...)
	               ^

Looks like a whoopsie on my side in #1990 (I recall I was testing some variations, probably forgot to change back 😂). Pushing as a PR separate from #2173 in case we want to backport this individually.

This test was intending to run all tests, but didn't, which was
caught by golangci-lint;

    cli/compose/loader/windows_path_test.go:46:17: SA4010: this result of append is never used, except maybe in other appends (staticcheck)
    	tests := append(isabstests, winisabstests...)
    	               ^

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah
Copy link
Member Author

ping @vdemeester @silvin-lubecki one more small one 😅

Copy link
Contributor

@silvin-lubecki silvin-lubecki left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants