From 01cbf67bcb4b5887748e271b086a02c847c861f2 Mon Sep 17 00:00:00 2001 From: Haidang666 Date: Fri, 30 Jul 2021 13:50:46 +0700 Subject: [PATCH] Fix test on new warning reason format --- test/cases/postSkipSegments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cases/postSkipSegments.ts b/test/cases/postSkipSegments.ts index 7ac2d28..f19ba34 100644 --- a/test/cases/postSkipSegments.ts +++ b/test/cases/postSkipSegments.ts @@ -589,7 +589,7 @@ describe("postSkipSegments", () => { const expected = "Submission rejected due to a warning from a moderator. This means that we noticed you were making some common mistakes" + " that are not malicious, and we just want to clarify the rules. " + "Could you please send a message in discord.gg/SponsorBlock or matrix.to/#/+sponsor:ajay.app so we can further help you? " - + `Your userID is ${userID}.\n\nWarning reason: ${reason}`; + + `Your userID is ${userID}.\n\nWarning reason: '${reason}'`; assert.strictEqual(errorMessage, expected); done();