{"draft":null,"from":77,"to":78,"files":[{"path":"src/engine/test/concurrent.test.ts","added":5,"removed":5,"diff":"--- a/src/engine/test/concurrent.test.ts\n+++ b/src/engine/test/concurrent.test.ts\n@@ -24,13 +24,13 @@\n \tView,\n } from \"../index.ts\";\n \n-const textOf = (lines: readonly string[]): string => (lines.length === 0 ? \"\" : lines.join(\"\\n\") + \"\\n\");\n+const textOf = (lines: readonly string[]): string => (lines.length === 0 ? \"\" : `${lines.join(\"\\n\")}\\n`);\n \n import { EditGen, type Files, filesFromView, filesToRecord, sameFiles } from \"./gen.ts\";\n import { Repo, Rng } from \"./helpers.ts\";\n \n-const BASE_SEED = Number(process.env[\"PROP_SEED\"] ?? 20260621);\n-const CASES = Number(process.env[\"PROP_CASES\"] ?? 250);\n+const BASE_SEED = Number(process.env.PROP_SEED ?? 20260621);\n+const CASES = Number(process.env.PROP_CASES ?? 250);\n \n /** A hunk in terms of the old view's visible lines. start === end is a pure insertion at gap start. */\n interface PlainHunk {\n@@ -98,7 +98,7 @@\n \t\t\tusedFiles.add(path);\n \t\t\tconst lines = fresh(rng.range(1, 3));\n \t\t\thunks.push({ file: path, start: 0, end: 0, lines });\n-\t\t\tedits.push({ file: path, old: \"\", new: lines.join(\"\\n\") + \"\\n\" });\n+\t\t\tedits.push({ file: path, old: \"\", new: `${lines.join(\"\\n\")}\\n` });\n \t\t\tparts.push(`create ${path} ${JSON.stringify(lines)}`);\n \t\t\treturn;\n \t\t}\n@@ -429,7 +429,7 @@\n \t\t\tconst a = Math.max(0, i - rng.range(0, 2));\n \t\t\tconst b = Math.min(n, j + rng.range(0, 2));\n \t\t\tconst edit = gen.textEdit(file, all, i, j, add, \"both\") as { old: string; new: string };\n-\t\t\tconst text = (ls: readonly string[]) => (ls.length ? ls.join(\"\\n\") + \"\\n\" : \"\");\n+\t\t\tconst text = (ls: readonly string[]) => (ls.length ? `${ls.join(\"\\n\")}\\n` : \"\");\n \t\t\tconst whole = text(all);\n \t\t\tconst wider = { file, old: text(all.slice(a, b)), new: text([...all.slice(a, i), ...add, ...all.slice(j, b)]) };\n \t\t\tconst unique = wider.old !== \"\" && whole.indexOf(wider.old) === whole.lastIndexOf(wider.old);"}],"unmatched":[]}