mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
feat: show better error on invalid template upload (#3847)
* feat: show better error on invalid template upload * Fix tests
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user