fix(lint): codigo so em ASCII (lang-lint R9) nos arquivos de destinatarios

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Sonnet 5.5 committed 2026-10-13 10:32:38 -03:00
1 parent 931ddcd004
commit 8e7c0abd0a
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
* Reading and answering address lists. * Reading and answering address lists.
* *
* The compose field used to split on every comma, which cuts a display name * The compose field used to split on every comma, which cuts a display name
* like `"Silva, João" <joao@x.test>` in half and sends to two broken * like `"Silva, Joao" <joao@x.test>` in half and sends to two broken
* addresses. Reply-all had no home at all: the composer took one `replyTo` * addresses. Reply-all had no home at all: the composer took one `replyTo`
* and nothing else, so answering a thread meant retyping everyone on it. * and nothing else, so answering a thread meant retyping everyone on it.
*/ */
+2 -2
View File
@@ -17,10 +17,10 @@ describe("parseAddressList", () => {
}); });
it("does not cut a quoted name that contains a comma", () => { it("does not cut a quoted name that contains a comma", () => {
const list = parseAddressList('"Silva, João" <joao@x.test>, ana@x.test'); const list = parseAddressList('"Silva, Joao" <joao@x.test>, ana@x.test');
expect(list).toHaveLength(2); expect(list).toHaveLength(2);
expect(list[0].address).toBe("joao@x.test"); expect(list[0].address).toBe("joao@x.test");
expect(list[0].label).toBe("Silva, João"); expect(list[0].label).toBe("Silva, Joao");
expect(list[0].valid).toBe(true); expect(list[0].valid).toBe(true);
}); });