Skip to content

Conversation

gophercloud-backport-bot[bot]
Copy link

Backport: #3197

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.
@github-actions github-actions bot added edit:compute This PR updates compute code v2 This PR targets v2 semver:patch No API change labels Oct 4, 2024
@coveralls
Copy link

Coverage Status

coverage: 78.717%. remained the same
when pulling a253e39 on bp-v2-a814c3b
into 0cd6d3a on v2.

@pierreprinetti pierreprinetti merged commit a08c265 into v2 Oct 4, 2024
23 checks passed
@pierreprinetti pierreprinetti deleted the bp-v2-a814c3b branch October 4, 2024 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
edit:compute This PR updates compute code semver:patch No API change v2 This PR targets v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants