Versions 111 to 318
Lines 8–59 at 318 (were 8–13 at 111)
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");
1157 it("immutable indexed membership avoids a history-sized bitmap and remains a snapshot", () => {
Lines 87–103 at 318 (were 41–46 at 111)
92+ for (let i = 1; i <= 257; i++) repo.edit({ edits: [{ file: "f.txt", old: `${i - 1}\n`, new: `${i}\n` }] });
Lines 134–142 at 318 (were 77–84 at 111)
80− ["a0", p.id, q.id].sort((a, b) => Number(a.slice(1)) - Number(b.slice(1))),
83141
84142 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 111 318 src/engine/test/view.test.ts --json
- JSON
- /christopher/abso-core/compare/111..318?file=src%2Fengine%2Ftest%2Fview.test.ts&format=json