From 10ee37b35c653d089dc649004cb14ac19afece69 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Mon, 20 Nov 2017 09:43:35 +0100 Subject: [PATCH] handling JSVerify RNG state 08a74d310cfb58269e --- js/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/test.js b/js/test.js index 9bf9cb2e..23238469 100644 --- a/js/test.js +++ b/js/test.js @@ -1186,7 +1186,7 @@ describe('PasteStatus', function () { schema2, address2, query2 ) { var expected1 = schema1 + '://' + address1.join('') + '/?' + - encodeURI(query1.join('') + '#' + fragment1), + encodeURI(query1.join('').replace(/^&+|&+$/gm,'') + '#' + fragment1), expected2 = schema2 + '://' + address2.join('') + '/?' + encodeURI(query2.join('')), clean = jsdom();