diff --git a/cli/delete_test.go b/cli/delete_test.go index 24a4975d911db..2f2cf404fc6ab 100644 --- a/cli/delete_test.go +++ b/cli/delete_test.go @@ -39,7 +39,7 @@ func TestDelete(t *testing.T) { assert.ErrorIs(t, err, io.EOF) } }() - pty.ExpectMatch("Cleaning Up") + pty.ExpectMatch("workspace has been deleted") <-doneChan }) @@ -68,7 +68,7 @@ func TestDelete(t *testing.T) { assert.ErrorIs(t, err, io.EOF) } }() - pty.ExpectMatch("Cleaning Up") + pty.ExpectMatch("workspace has been deleted") <-doneChan }) @@ -102,7 +102,7 @@ func TestDelete(t *testing.T) { } }() - pty.ExpectMatch("Cleaning Up") + pty.ExpectMatch("workspace has been deleted") <-doneChan workspace, err = client.Workspace(context.Background(), workspace.ID)