|
|
@ -15,7 +15,7 @@ describe('Base58', function() { |
|
|
|
should.exist(b58); |
|
|
|
}); |
|
|
|
|
|
|
|
describe('#encode', function() { |
|
|
|
describe('@encode', function() { |
|
|
|
|
|
|
|
it('should encode the buffer accurately', function() { |
|
|
|
Base58.encode(buf).should.equal(enc); |
|
|
@ -29,7 +29,7 @@ describe('Base58', function() { |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
describe('#decode', function() { |
|
|
|
describe('@decode', function() { |
|
|
|
|
|
|
|
it('should decode this encoded value correctly', function() { |
|
|
|
Base58.decode(enc).toString('hex').should.equal(buf.toString('hex')); |
|
|
|