Przeglądaj źródła

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

El RIDO 1 rok temu
rodzic
commit
4daf0a2307
1 zmienionych plików z 1 dodań i 1 usunięć
  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);