Versions 116 to 318
Lines 8–44 at 318 (were 8–13 at 116)
99
13+ const repo = Repo.init({ "long.txt": "line\n".repeat(count), "a.txt": "move\n", "b.txt": "base\n" });
26+ assert.equal(retained(2048), retained(512), "file-location retained state must not grow with ancestry depth");
33+ repo.edit({ edits: Array.from({ length: count }, (_, i) => ({ file: `old-${i}.txt`, old: "gone\n", new: "" })) });
37+ assert.equal(view.knownPaths().length, count + 1, "explicit historical enumeration is preserved");
40+ assert.equal(retained(200), retained(20), "deleted path count must not grow current-view retained state");
1142 it("reuses indexed membership across a long run of lines without a history-sized memo", () => {
Lines 134–142 at 318 (were 103–110 at 116)
106− ["a0", p.id, q.id].sort((a, b) => Number(a.slice(1)) - Number(b.slice(1))),
109141
110142 it("puts a line's replacements ahead of the lines inserted after it, whatever their priority", () => {
- MCP
- compare on this site's /mcp
- CLI
- abso diff 116 318 src/engine/test/view.test.ts --json
- JSON
- /christopher/abso-core/compare/116..318?file=src%2Fengine%2Ftest%2Fview.test.ts&format=json