handling JSVerify RNG state 08a74d310cfb58269e

This commit is contained in:
El RIDO 2017-11-20 09:43:35 +01:00
parent af073c9ca1
commit 10ee37b35c
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

View File

@ -1186,7 +1186,7 @@ describe('PasteStatus', function () {
schema2, address2, query2 schema2, address2, query2
) { ) {
var expected1 = schema1 + '://' + address1.join('') + '/?' + var expected1 = schema1 + '://' + address1.join('') + '/?' +
encodeURI(query1.join('') + '#' + fragment1), encodeURI(query1.join('').replace(/^&+|&+$/gm,'') + '#' + fragment1),
expected2 = schema2 + '://' + address2.join('') + '/?' + expected2 = schema2 + '://' + address2.join('') + '/?' +
encodeURI(query2.join('')), encodeURI(query2.join('')),
clean = jsdom(); clean = jsdom();