MCPcopy Index your code
hub / github.com/coder/coder / RequireError

Method RequireError

cli/clitest/clitest.go:251–253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249}
250
251func (w *ErrorWaiter) RequireError() {
252 require.Error(w.t, w.Wait())
253}
254
255func (w *ErrorWaiter) RequireContains(s string) {
256 require.ErrorContains(w.t, w.Wait(), s)

Callers 7

TestTemplatePushFunction · 0.80
TestOpenVSCodeFunction · 0.80
TestOpenAppFunction · 0.80
TestAgentFunction · 0.80

Calls 2

WaitMethod · 0.95
ErrorMethod · 0.45

Tested by 7

TestTemplatePushFunction · 0.64
TestOpenVSCodeFunction · 0.64
TestOpenAppFunction · 0.64
TestAgentFunction · 0.64