MCPcopy 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.tsFile · 0.85

Calls 1

countFunction · 0.70

Tested by

no test coverage detected