MCPcopy
hub / github.com/anomalyco/opencode / expectLf

Function expectLf

packages/opencode/test/tool/edit.test.ts:359–363  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

357 }
358
359 const expectLf = (content: string) => {
360 const counts = count(content)
361 expect(counts.crlf).toBe(0)
362 expect(counts.lf).toBeGreaterThan(0)
363 }
364
365 const expectCrlf = (content: string) => {
366 const counts = count(content)

Callers 1

edit.test.tsFile · 0.85

Calls 1

countFunction · 0.70

Tested by

no test coverage detected