Versions 109 to 318
Lines 8–59 at 318 (were 8–13 at 109)
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 78–103 at 318 (were 32–40 at 109)
3278 assert.equal(second.weight(), weight, "membership resident size does not increase with historical atom count");
81+ assert.equal(second.weight(), first.weight(), "current text retains visible lines, not historical tombstones");
85+ assert.ok(second.weight() > currentWeight, "explicit history reads may retain their requested sequence");
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 71–78 at 109)
74− ["a0", p.id, q.id].sort((a, b) => Number(a.slice(1)) - Number(b.slice(1))),
77141
78142 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 109 318 src/engine/test/view.test.ts --json
- JSON
- /christopher/abso-core/compare/109..318?file=src%2Fengine%2Ftest%2Fview.test.ts&format=json