Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
255
func
(w *ErrorWaiter) RequireContains(s string) {
256
require.ErrorContains(w.t, w.Wait(), s)
257
}
258
259
func
(w *ErrorWaiter) RequireIs(want error) {
260
require.ErrorIs(w.t, w.Wait(), want)
Callers
2
TestExternalAuth
Function · 0.80
TestOpenApp
Function · 0.80
Calls
1
Wait
Method · 0.95
Tested by
2
TestExternalAuth
Function · 0.64
TestOpenApp
Function · 0.64