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

Method RequireIs

cli/clitest/clitest.go:259–261  ·  view source on GitHub ↗
(want error)

Source from the content-addressed store, hash-verified

257}
258
259func (w *ErrorWaiter) RequireIs(want error) {
260 require.ErrorIs(w.t, w.Wait(), want)
261}
262
263func (w *ErrorWaiter) RequireAs(want interface{}) {
264 require.ErrorAs(w.t, w.Wait(), want)

Callers 2

TestExternalAuthFunction · 0.80
TestVSCodeSSHFunction · 0.80

Calls 1

WaitMethod · 0.95

Tested by 2

TestExternalAuthFunction · 0.64
TestVSCodeSSHFunction · 0.64