mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
test: fix lang test
This commit is contained in:
@@ -129,7 +129,7 @@ describe('new Translator(language)', () => {
|
|||||||
|
|
||||||
const key = '[[global:403.login, <strong>test</strong>]]';
|
const key = '[[global:403.login, <strong>test</strong>]]';
|
||||||
return translator.translate(key).then((translated) => {
|
return translator.translate(key).then((translated) => {
|
||||||
assert.strictEqual(translated, 'Perhaps you should <a href=\'<strong>test</strong>/login\'>try logging in</a>?');
|
assert.strictEqual(translated, 'Perhaps you should <a class="alert-link" href='<strong>test</strong>/login'>try logging in</a>?');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user