Browse Source

prefix static methods with @ in tests

...instance methods prefixed with #
patch-2
Ryan X. Charles 10 years ago
parent
commit
76e8136b45
  1. 4
      test/test.base58.js

4
test/test.base58.js

@ -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…
Cancel
Save