prefix static methods with @ in tests
...instance methods prefixed with #
This commit is contained in:
parent
b81e4c75fb
commit
76e8136b45
|
@ -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'));
|
||||
|
|
Loading…
Reference in New Issue