mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-03 01:39:15 +02:00
"0" is not a valid base58 encoding as leading zeros are trimmed, "1" is valid and decodes to 0x00
This commit is contained in:
parent
734b85eb08
commit
4daf0a2307
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue