Skip to content

Commit d3e484b

Browse files
Potential fixes for 2 code quality findings (#18)
* Apply suggested fix to internal/lifecycle/initialize_test.go from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> Signed-off-by: Manuel Alejandro de Brito Fontes <aledbf@gmail.com> * Apply suggested fix to internal/lifecycle/initialize_test.go from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> Signed-off-by: Manuel Alejandro de Brito Fontes <aledbf@gmail.com> --------- Signed-off-by: Manuel Alejandro de Brito Fontes <aledbf@gmail.com> Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent da8b751 commit d3e484b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/lifecycle/initialize_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ func TestRunInitializeCommand(t *testing.T) {
3636
{"string form with substitution", cmdFromJSON(t, `"true # ${localWorkspaceFolder}"`), false},
3737
{"string form non-zero exit", cmdFromJSON(t, `"false"`), true},
3838
{"array form", cmdFromJSON(t, `["true"]`), false},
39+
{"array form non-zero exit", cmdFromJSON(t, `["false"]`), true},
3940
{"array form with substitution", cmdFromJSON(t, `["true", "${localWorkspaceFolder}"]`), false},
4041
{"object form parallel", cmdFromJSON(t, `{"a": "true", "b": "true"}`), false},
42+
{"object form parallel with failure", cmdFromJSON(t, `{"a": "true", "b": "false"}`), true},
4143
}
4244

4345
for _, tt := range tests {

0 commit comments

Comments
 (0)