internal/cloudapi: fix test
Minor fix to a test to correct the expected vs actual fields.
This commit is contained in:
parent
2c23894e2a
commit
17d730593c
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ func TestRepoConfigConversion(t *testing.T) {
|
||||||
for idx, tc := range testCases {
|
for idx, tc := range testCases {
|
||||||
rc, err := genRepoConfig(tc.repo)
|
rc, err := genRepoConfig(tc.repo)
|
||||||
assert.NoError(err)
|
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 {
|
errorTestCases := []struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue