chore: generate

This commit is contained in:
opencode-agent[bot] 2026-05-25 02:06:42 +00:00
commit 9c7de47031
8 changed files with 145 additions and 66 deletions

View file

@ -71,7 +71,8 @@ describe("session diff", () => {
test("keeps capped header-only patches partial", () => {
const fileDiff = resolveFileDiff({
file: "a.ts",
patch: "Index: a.ts\n===================================================================\n--- a.ts\t\n+++ a.ts\t\n",
patch:
"Index: a.ts\n===================================================================\n--- a.ts\t\n+++ a.ts\t\n",
})
expect(fileDiff.name).toBe("a.ts")