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

User Agent Test Fix #1999

Merged
merged 1 commit into from
Sep 16, 2018
Merged

User Agent Test Fix #1999

merged 1 commit into from
Sep 16, 2018

Conversation

tri-adam
Copy link
Contributor

The tests for User Agent were written to assume that runtime.Version() always returns goX.Y.Z. However, when the rightmost component of the version is zero, it is dropped and so goX.Y is returned (see golang/go#27255 for more info.)

This change opens up the test regex to accept both goX.Y.Z and goX.Y.

@tri-adam tri-adam self-assigned this Sep 16, 2018
@bauerm97 bauerm97 merged commit 51d4dfb into apptainer:master Sep 16, 2018
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.

4 participants