diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-24 20:02:46 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-24 20:02:46 +0200 |
| commit | afeacd7cb99db7fcf4d677dbe8dd52b10e1284e0 (patch) | |
| tree | 1011735f93e7aa2e3c3f1a14dfdc22c6d06fe5c0 /src/mainwindow.h | |
| parent | 86af01996dd702bdc3f837e96f154088e8b45538 (diff) | |
| download | qtmaildir-afeacd7cb99db7fcf4d677dbe8dd52b10e1284e0.tar.gz qtmaildir-afeacd7cb99db7fcf4d677dbe8dd52b10e1284e0.zip | |
test(signatures): record what the quoted-delimiter test does not pin
The test asserts that a delimiter inside the quoted original is not treated
as this message's signature, and it passes whether or not the code checks
for that. Two mutations were measured against it and both stayed green:
trimming the delimiter comparison so a quoted "> -- " matches, and making
the quoted text one of the known signatures so the match guard could not be
what refuses the removal.
Neither changes the output. blockEnd() stops the block at the quote, so the
quoted signature survives either way, and the behaviour is correct under
both. The comment says so, so the next reader does not spend the same
measurements discovering that the test cannot be sharpened.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KEcn3u19xPqv6ggD15PG4c
Diffstat (limited to 'src/mainwindow.h')
0 files changed, 0 insertions, 0 deletions
