diff --git a/src/test.ts b/src/test.ts index cdc8331..ccd54b7 100644 --- a/src/test.ts +++ b/src/test.ts @@ -70,10 +70,10 @@ describe("receive email", () => { from: "publisher@example.com", to: `${identifier}@${EMAIL_DOMAIN}`, subject: "New Message", - html: "
Invalid XML character (backspace): ‘\b’
", + html: "Invalid XML character (backspace): |\b|
", }); const feed = await getFeed(identifier); - expect(feed).toMatch("Invalid XML character (backspace): ‘’"); + expect(feed).toMatch("Invalid XML character (backspace): ||"); }); test("invalid XML character in text", async () => { @@ -82,12 +82,10 @@ describe("receive email", () => { from: "publisher@example.com", to: `${identifier}@${EMAIL_DOMAIN}`, subject: "New Message", - text: "Invalid XML character (backspace): ‘\b’", + text: "Invalid XML character (backspace): |\b|", }); const feed = await getFeed(identifier); - expect(feed).toMatch( - "Invalid XML character (backspace): ‘’" - ); + expect(feed).toMatch("Invalid XML character (backspace): ||"); }); test("missing content", async () => {