internal/cloudapi: fix test

Minor fix to a test to correct the
expected vs actual fields.
This commit is contained in:
Gianluca Zuccarelli 2023-01-23 16:07:29 +00:00 committed by Tomáš Hozza
parent 2c23894e2a
commit 17d730593c

View file

@ -189,7 +189,7 @@ func TestRepoConfigConversion(t *testing.T) {
for idx, tc := range testCases {
rc, err := genRepoConfig(tc.repo)
assert.NoError(err)
assert.Equal(rc, &tc.repoConfig, "mismatch in test case %d", idx)
assert.Equal(&tc.repoConfig, rc, "mismatch in test case %d", idx)
}
errorTestCases := []struct {