Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ expectCrlf
Function
expectCrlf
packages/opencode/test/tool/edit.test.ts:365–369 ·
view source on GitHub ↗
(content: string)
Source
from the content-addressed store, hash-verified
363
}
364
365
const
expectCrlf = (content: string) => {
366
const
counts = count(content)
367
expect(counts.lf).toBe(0)
368
expect(counts.crlf).toBeGreaterThan(0)
369
}
370
371
type
Input = {
372
content: string
Callers
1
edit.test.ts
File · 0.85
Calls
1
count
Function · 0.70
Tested by
no test coverage detected