From 9a4018bffed2afa9f9ca874a2f7f2be0107bbfb2 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 1 Feb 2020 07:40:14 +0100 Subject: [PATCH] jsverify rngState 8270695ec83abf412d was a false positive, due to incorrect test logic --- js/test/I18n.js | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/js/test/I18n.js b/js/test/I18n.js index 67b1ca94..6d82b63b 100644 --- a/js/test/I18n.js +++ b/js/test/I18n.js @@ -33,7 +33,16 @@ describe('I18n', function () { var fakeAlias = $.PrivateBin.I18n._(fake); $.PrivateBin.I18n.reset(); - messageId = $.PrivateBin.Helper.htmlEntities(messageId); + if (messageId.indexOf('').text((prefix + params[0] + postfix)).text(); let args = Array.prototype.slice.call(params); args.unshift(prefix + '%s' + postfix);