This commit is contained in:
Oleg Maslov
2026-09-02 10:14:22 +02:00
parent 0c3e2ead3b
commit b20b138fe4
771 changed files with 161561 additions and 9027 deletions

View File

@@ -47,4 +47,11 @@ describe('harvestSetHash', () => {
const y = { id: '1', title: 'C', content: 'T' };
expect(harvestSetHash([x])).not.toBe(harvestSetHash([y]));
});
it('does not collide when field boundaries contain spaces', () => {
const compact = { id: 'a', title: 'b', content: 'c' };
const shifted = { id: 'a b', title: 'c', content: '' };
expect(harvestSetHash([compact])).not.toBe(harvestSetHash([shifted]));
});
});