Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
251
func
(w *ErrorWaiter) RequireError() {
252
require.Error(w.t, w.Wait())
253
}
254
255
func
(w *ErrorWaiter) RequireContains(s string) {
256
require.ErrorContains(w.t, w.Wait(), s)
Callers
7
TestTemplatePull_FolderConflict
Function · 0.80
TestTemplatePush
Function · 0.80
TestOpenVSCode
Function · 0.80
TestOpenVSCode_NoAgentDirectory
Function · 0.80
TestOpenVSCodeDevContainer
Function · 0.80
TestOpenApp
Function · 0.80
TestAgent
Function · 0.80
Calls
2
Wait
Method · 0.95
Error
Method · 0.45
Tested by
7
TestTemplatePull_FolderConflict
Function · 0.64
TestTemplatePush
Function · 0.64
TestOpenVSCode
Function · 0.64
TestOpenVSCode_NoAgentDirectory
Function · 0.64
TestOpenVSCodeDevContainer
Function · 0.64
TestOpenApp
Function · 0.64
TestAgent
Function · 0.64