From 17d730593cb1e3a0fc9281fb5fbda4d80326e8c9 Mon Sep 17 00:00:00 2001 From: Gianluca Zuccarelli Date: Mon, 23 Jan 2023 16:07:29 +0000 Subject: [PATCH] internal/cloudapi: fix test Minor fix to a test to correct the expected vs actual fields. --- internal/cloudapi/v2/v2_internal_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cloudapi/v2/v2_internal_test.go b/internal/cloudapi/v2/v2_internal_test.go index e18280c9a..e26dfbd7d 100644 --- a/internal/cloudapi/v2/v2_internal_test.go +++ b/internal/cloudapi/v2/v2_internal_test.go @@ -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 {