Skip to content

Commit

Permalink
chore(install): Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
rthorn-nr committed Apr 18, 2023
1 parent 4c95906 commit a1b5ac1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/install/execution/go_task_recipe_executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}{}
Expand All @@ -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 {
Expand Down

0 comments on commit a1b5ac1

Please sign in to comment.