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

Method RequireContains

cli/clitest/clitest.go:255–257  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

253}
254
255func (w *ErrorWaiter) RequireContains(s string) {
256 require.ErrorContains(w.t, w.Wait(), s)
257}
258
259func (w *ErrorWaiter) RequireIs(want error) {
260 require.ErrorIs(w.t, w.Wait(), want)

Callers 2

TestExternalAuthFunction · 0.80
TestOpenAppFunction · 0.80

Calls 1

WaitMethod · 0.95

Tested by 2

TestExternalAuthFunction · 0.64
TestOpenAppFunction · 0.64