Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

compute: Fix expected and actual test results #3197

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

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

pierreprinetti
Copy link
Member

Our test convenience function AssertEquals accept the expected value first, then the actual value. Many tests in Compute were using it the other way around, thus potentially returning confusing error messages.

func AssertEquals(t *testing.T, expected, actual any) {

Our test convenience function `AssertEquals` accept the expected value
first, then the actual value. Many tests in Compute were using it the
other way around, thus potentially returning confusing error messages.
@pierreprinetti pierreprinetti requested a review from a team October 4, 2024 10:11
@github-actions github-actions bot added edit:compute This PR updates compute code semver:patch No API change labels Oct 4, 2024
@coveralls
Copy link

Coverage Status

coverage: 78.726%. remained the same
when pulling a814c3b on shiftstack:expected_actual
into abca462 on gophercloud:master.

@EmilienM EmilienM merged commit 2168c96 into gophercloud:master Oct 4, 2024
18 checks passed
@EmilienM EmilienM deleted the expected_actual branch October 4, 2024 13:02
@pierreprinetti pierreprinetti added the backport-v2 This PR will be backported to v2 label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v2 This PR will be backported to v2 edit:compute This PR updates compute code semver:patch No API change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.