Explorar o código

"0" is not a valid base58 encoding as leading zeros are trimmed, "1" is valid and decodes to 0x00

El RIDO hai 1 ano
pai
achega
4daf0a2307
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      js/test/TopNav.js

+ 1 - 1
js/test/TopNav.js

@@ -731,7 +731,7 @@ describe('TopNav', function () {
         it(
             'displays raw text view correctly',
             function () {
-                const clean = jsdom('', {url: 'https://privatebin.net/?0123456789abcdef#0'});
+                const clean = jsdom('', {url: 'https://privatebin.net/?0123456789abcdef#1'});
                 $('body').html('<button id="rawtextbutton"></button>');
                 const sample = 'example';
                 $.PrivateBin.PasteViewer.setText(sample);