Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

test(engine): count the hunks a second apply of the id backport rejects

Yudhi Armyndharis68633a41a930
diff --git a/src/engine/adapters/wwebjs-backport-201832.spec.ts b/src/engine/adapters/wwebjs-backport-201832.spec.ts
index 89f8b9409..73b55353f 100644
--- a/src/engine/adapters/wwebjs-backport-201832.spec.ts
+++ b/src/engine/adapters/wwebjs-backport-201832.spec.ts
@@ -136,7 +136,7 @@ describe('patch-wwebjs-201832 (build-time backport of upstream #201832)', () =>
});
// `patch` writes in diff order and Message.js is the 10th of 11 files, so a run that was killed usually
- // stopped before it. Applying the diff again would reject the hunks of the nine files that landed (24 of
+ // stopped before it. Applying the diff again would reject the hunks of the nine files that landed (25 of
// them), leave their .rej files in the tree and call an interrupted install version skew.
it('refuses a tree whose run stopped before Message.js, without touching it', () => {
const dir = copyWwjs();