feat: show better error on invalid template upload (#3847)

* feat: show better error on invalid template upload

* Fix tests
This commit is contained in:
Ammar Bandukwala
2022-09-02 17:48:40 -05:00
committed by GitHub
parent ac50070713
commit a09ffd6c0d
4 changed files with 61 additions and 10 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ func (p *PTY) ExpectMatch(str string) string {
p.logf("matched %q = %q", str, buffer.String())
return buffer.String()
case <-timeout.Done():
// Ensure goroutine is cleaned up before test exit.
// Ensure gorouine is cleaned up before test exit.
_ = p.out.closeErr(p.Close())
<-match