Skip to content

Commit fad6ae8

Browse files
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>
1 parent c9b63e3 commit fad6ae8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/lifecycle/initialize_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ 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},
4142
{"object form parallel with failure", cmdFromJSON(t, `{"a": "true", "b": "false"}`), true},

0 commit comments

Comments
 (0)