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

Method RequireSuccess

cli/clitest/clitest.go:247–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

245}
246
247func (w *ErrorWaiter) RequireSuccess() {
248 require.NoError(w.t, w.Wait())
249}
250
251func (w *ErrorWaiter) RequireError() {
252 require.Error(w.t, w.Wait())

Callers 15

TestServerFunction · 0.80
TestCreateFunction · 0.80
TestTemplatePushFunction · 0.80
TestLoginFunction · 0.80
TestConfigSSHFunction · 0.80
TestFixOIDCLinksFunction · 0.80
TestOpenVSCodeFunction · 0.80
TestOpenAppFunction · 0.80
TestSSHFunction · 0.80

Calls 1

WaitMethod · 0.95

Tested by 15

TestServerFunction · 0.64
TestCreateFunction · 0.64
TestTemplatePushFunction · 0.64
TestLoginFunction · 0.64
TestConfigSSHFunction · 0.64
TestFixOIDCLinksFunction · 0.64
TestOpenVSCodeFunction · 0.64
TestOpenAppFunction · 0.64
TestSSHFunction · 0.64