From 452f1a132f16b5f4d22856429bef0a21b2acfdac Mon Sep 17 00:00:00 2001 From: Ryan Thorn Date: Tue, 18 Apr 2023 13:26:27 -0700 Subject: [PATCH] chore(install): Fix lint error --- .../install/execution/go_task_recipe_executor_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/install/execution/go_task_recipe_executor_test.go b/internal/install/execution/go_task_recipe_executor_test.go index fdce616d3..fed9cb39a 100644 --- a/internal/install/execution/go_task_recipe_executor_test.go +++ b/internal/install/execution/go_task_recipe_executor_test.go @@ -502,9 +502,9 @@ func Test_mergeStringJSON(t *testing.T) { output: &outputExistingMap, bs: []byte("{\"Metadata\":{\"another\":\"thing\"}}\n"), } - outputInvalidJson := map[string]interface{}{} - argsInvalidJson := args{ - output: &outputInvalidJson, + outputInvalidJSON := map[string]interface{}{} + argsInvalidJSON := args{ + output: &outputInvalidJSON, bs: []byte("Invalid JSON"), } outputEmptyString := map[string]interface{}{} @@ -520,7 +520,7 @@ func Test_mergeStringJSON(t *testing.T) { }{ {"new map", argsNewMap, false, 1}, {"existing map", argsExistingMap, false, 2}, - {"invalid JSON", argsInvalidJson, true, 0}, + {"invalid JSON", argsInvalidJSON, true, 0}, {"empty string", argsEmptyString, true, 0}, } for _, tt := range tests {