From 1022c943e6a557d3c05d88742619dd5b69d04595 Mon Sep 17 00:00:00 2001
From: Will Hunt <will@half-shot.uk>
Date: Thu, 18 Jun 2020 11:23:23 +0100
Subject: [PATCH] Fix formatting test

---
 test/test_discordmessageprocessor.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test_discordmessageprocessor.ts b/test/test_discordmessageprocessor.ts
index 3b40eb7..88507a3 100644
--- a/test/test_discordmessageprocessor.ts
+++ b/test/test_discordmessageprocessor.ts
@@ -190,8 +190,8 @@ describe("DiscordMessageProcessor", () => {
             msg.content = "Hello <:hello:3333333>";
             const result = await processor.FormatMessage(msg);
             Chai.assert.equal(result.body, "Hello :hello:");
-            Chai.assert.equal(result.formattedBody, "Hello <img alt=\"hello\" ti" +
-                "tle=\"hello\" height=\"32\" src=\"mxc://image\" />");
+            Chai.assert.equal(result.formattedBody, "Hello <img alt=\":hello:\" ti" +
+                "tle=\":hello:\" height=\"32\" src=\"mxc://image\" />");
         });
     });
     describe("InsertChannelPills / HTML", () => {
-- 
GitLab