Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ expectReadFailure
Function
expectReadFailure
packages/opencode/test/tool/apply_patch.test.ts:86–86 ·
view source on GitHub ↗
(filepath: string)
Source
from the content-addressed store, hash-verified
84
})
85
86
const
expectReadFailure = (filepath: string) => expectFailure(readText(filepath))
87
88
describe(
"tool.apply_patch freeform"
, () => {
89
it.live(
"requires patchText"
, () =>
Callers
1
apply_patch.test.ts
File · 0.85
Calls
2
expectFailure
Function · 0.70
readText
Function · 0.70
Tested by
no test coverage detected