Skip to content

Commit 09b67e5

Browse files
author
Bertan Ari
committed
test(apply-diff): make overlong marker fixture exercise the length guard
1 parent e75fd92 commit 09b67e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/core/diff/strategies/__tests__/multi-search-replace-marker-hint.spec.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe("MultiSearchReplaceDiffStrategy malformed start-line marker hint", () =
5757
)
5858

5959
it("skips the marker hint for an overlong whitespace-padded first line", async () => {
60-
const paddedLine = `startline${" ".repeat(40_000)}`
60+
const paddedLine = `startline${" ".repeat(40_000)}3`
6161
const diffContent = buildDiff(`${paddedLine}\nnot-in-the-file`, "replacement")
6262

6363
const startedAt = performance.now()

0 commit comments

Comments
 (0)