Browse Source

capitalize classes in tests

patch-2
Ryan X. Charles 11 years ago
parent
commit
9cc214cf06
  1. 2
      test/test.address.js
  2. 2
      test/test.base58check.js
  3. 2
      test/test.bn.js
  4. 2
      test/test.ecdsa.js
  5. 2
      test/test.hash.js
  6. 2
      test/test.kdf.js
  7. 2
      test/test.key.js
  8. 2
      test/test.point.js
  9. 2
      test/test.privkey.js
  10. 2
      test/test.pubkey.js
  11. 2
      test/test.random.js
  12. 2
      test/test.stealth.js

2
test/test.address.js

@ -3,7 +3,7 @@ var constants = require('../lib/constants');
var Pubkey = require('../lib/pubkey');
var Address = require('../lib/address');
describe('address', function() {
describe('Address', function() {
var pubkeyhash = new Buffer('3c3fa3d4adcaf8f52d5b1843975e122548269937', 'hex');
var str = '16VZnHwRhwrExfeHFHGjwrgEMq8VcYPs9r';

2
test/test.base58check.js

@ -2,7 +2,7 @@ var should = require('chai').should();
var base58check = require('../lib/base58check');
var base58 = require('../lib/base58');
describe('base58check', function() {
describe('Base58check', function() {
var buf = new Buffer([0, 1, 2, 3, 253, 254, 255]);
var enc = "14HV44ipwoaqfg";

2
test/test.bn.js

@ -3,7 +3,7 @@ var should = chai.should();
var assert = chai.assert;
var BN = require('../lib/bn');
describe('bn', function() {
describe('BN', function() {
it('should create a bn', function() {
var bn = new BN(50);
should.exist(bn);

2
test/test.ecdsa.js

@ -8,7 +8,7 @@ var bn = require('../lib/bn');
var point = require('../lib/point');
var should = require('chai').should();
describe("ecdsa", function() {
describe("ECDSA", function() {
it('should create a blank ecdsa', function() {
var ecdsa = new ECDSA();

2
test/test.hash.js

@ -1,7 +1,7 @@
var should = require('chai').should();
var Hash = require('../lib/hash');
describe('hash', function() {
describe('Hash', function() {
var buf = new Buffer([0, 1, 2, 3, 253, 254, 255]);
var str = "test string";

2
test/test.kdf.js

@ -2,7 +2,7 @@ var should = require('chai').should();
var KDF = require('../lib/kdf');
var Hash = require('../lib/hash');
describe('kdf', function() {
describe('KDF', function() {
describe('#buf2key', function() {

2
test/test.key.js

@ -6,7 +6,7 @@ var Privkey = require('../lib/privkey');
var Pubkey = require('../lib/pubkey');
var Key = require('../lib/key');
describe('key', function() {
describe('Key', function() {
it('should make a blank key', function() {
var key = new Key();

2
test/test.point.js

@ -2,7 +2,7 @@ var should = require('chai').should();
var point = require('../lib/point');
var bn = require('../lib/bn');
describe('point', function() {
describe('Point', function() {
it('should create a point', function() {
var p = point();

2
test/test.privkey.js

@ -3,7 +3,7 @@ var base58check = require('../lib/base58check');
var Bn = require('../lib/bn');
var should = require('chai').should();
describe('privkey', function() {
describe('Privkey', function() {
var hex = '96c132224121b509b7d0a16245e957d9192609c5637c6228311287b1be21627a';
var buf = new Buffer(hex, 'hex');
var enctestnet = 'cSdkPxkAjA4HDr5VHgsebAPDEh9Gyub4HK8UJr2DFGGqKKy4K5sG';

2
test/test.pubkey.js

@ -3,7 +3,7 @@ var Pubkey = require('../lib/pubkey');
var Point = require('../lib/point');
var Bn = require('../lib/bn');
describe('pubkey', function() {
describe('Pubkey', function() {
it('should create a blank public key', function() {
var pk = new Pubkey();

2
test/test.random.js

@ -1,7 +1,7 @@
var should = require('chai').should();
var Random = require('../lib/random');
describe('random', function() {
describe('Random', function() {
describe('#getRandomBuffer', function() {

2
test/test.stealth.js

@ -7,7 +7,7 @@ var BN = require('../lib/bn');
var Hash = require('../lib/hash');
var base58check = require('../lib/base58check');
describe('stealth', function() {
describe('Stealth', function() {
var stealth = Stealth();
stealth.payloadKey = Key();

Loading…
Cancel
Save