From 0481549734b50dc9e93ffe9609127cdb0d4d5aaf Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 13 Aug 2025 15:26:32 -0400 Subject: [PATCH] test: use protocol of test runner --- test/posts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/posts.js b/test/posts.js index 4fce2f2ff5..2ba85734d4 100644 --- a/test/posts.js +++ b/test/posts.js @@ -765,7 +765,7 @@ describe('Post\'s', () => { const nconf = require('nconf'); const content = 'test youtube'; const parsedContent = posts.relativeToAbsolute(content, posts.urlRegex); - assert.equal(parsedContent, `test youtube`); + assert.equal(parsedContent, `test youtube`); done(); }); @@ -774,7 +774,7 @@ describe('Post\'s', () => { const content = 'test youtube some test '; let parsedContent = posts.relativeToAbsolute(content, posts.urlRegex); parsedContent = posts.relativeToAbsolute(parsedContent, posts.imgRegex); - assert.equal(parsedContent, `test youtube some test `); + assert.equal(parsedContent, `test youtube some test `); done(); }); });