Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d88d7be commit 5df951bCopy full SHA for 5df951b
cli/templatecreate_test.go
@@ -243,19 +243,7 @@ func TestTemplateCreate(t *testing.T) {
243
assert.Error(t, err)
244
}()
245
246
- matches := []struct {
247
- match string
248
- write string
249
- }{
250
- {match: "Upload", write: "yes"},
251
- }
252
- for _, m := range matches {
253
- pty.ExpectMatch(m.match)
254
- if len(m.write) > 0 {
255
- pty.WriteLine(m.write)
256
257
258
-
+ pty.ExpectMatch("context canceled")
259
<-ctx.Done()
260
})
261
0 commit comments