Skip to content

Commit 8a559ee

Browse files
committed
Fix unrelated tests
1 parent 2406f3f commit 8a559ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/cmd/codespace/delete_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ func TestDelete(t *testing.T) {
4444
},
4545
},
4646
wantDeleted: []string{"hubot-robawt-abc"},
47+
wantStdout: "Codespace deleted.\n",
4748
},
4849
{
4950
name: "by repo",
@@ -65,6 +66,7 @@ func TestDelete(t *testing.T) {
6566
},
6667
},
6768
wantDeleted: []string{"monalisa-spoonknife-123", "monalisa-spoonknife-c4f3"},
69+
wantStdout: "Codespaces deleted.\n",
6870
},
6971
{
7072
name: "unused",
@@ -87,6 +89,7 @@ func TestDelete(t *testing.T) {
8789
},
8890
},
8991
wantDeleted: []string{"hubot-robawt-abc", "monalisa-spoonknife-c4f3"},
92+
wantStdout: "Codespaces deleted.\n",
9093
},
9194
{
9295
name: "deletion failed",
@@ -148,6 +151,7 @@ func TestDelete(t *testing.T) {
148151
"Codespace hubot-robawt-abc has unsaved changes. OK to delete?": true,
149152
},
150153
wantDeleted: []string{"hubot-robawt-abc", "monalisa-spoonknife-c4f3"},
154+
wantStdout: "Codespaces deleted.\n",
151155
},
152156
}
153157
for _, tt := range tests {

0 commit comments

Comments
 (0)