From 9cc214cf064e5f58d417ff1442f4c45a52623515 Mon Sep 17 00:00:00 2001 From: "Ryan X. Charles" Date: Thu, 14 Aug 2014 11:32:47 -0400 Subject: [PATCH] capitalize classes in tests --- test/test.address.js | 2 +- test/test.base58check.js | 2 +- test/test.bn.js | 2 +- test/test.ecdsa.js | 2 +- test/test.hash.js | 2 +- test/test.kdf.js | 2 +- test/test.key.js | 2 +- test/test.point.js | 2 +- test/test.privkey.js | 2 +- test/test.pubkey.js | 2 +- test/test.random.js | 2 +- test/test.stealth.js | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/test/test.address.js b/test/test.address.js index 498d110..68881cf 100644 --- a/test/test.address.js +++ b/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'; diff --git a/test/test.base58check.js b/test/test.base58check.js index 8b50813..ac6da3c 100644 --- a/test/test.base58check.js +++ b/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"; diff --git a/test/test.bn.js b/test/test.bn.js index da7226a..8a7d458 100644 --- a/test/test.bn.js +++ b/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); diff --git a/test/test.ecdsa.js b/test/test.ecdsa.js index 915acf7..f7db604 100644 --- a/test/test.ecdsa.js +++ b/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(); diff --git a/test/test.hash.js b/test/test.hash.js index 2e8d010..f146a62 100644 --- a/test/test.hash.js +++ b/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"; diff --git a/test/test.kdf.js b/test/test.kdf.js index 4571b4c..faeeda2 100644 --- a/test/test.kdf.js +++ b/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() { diff --git a/test/test.key.js b/test/test.key.js index 7e21fac..f2c098f 100644 --- a/test/test.key.js +++ b/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(); diff --git a/test/test.point.js b/test/test.point.js index bf5e078..583d709 100644 --- a/test/test.point.js +++ b/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(); diff --git a/test/test.privkey.js b/test/test.privkey.js index 2ab2e86..8bb0a85 100644 --- a/test/test.privkey.js +++ b/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'; diff --git a/test/test.pubkey.js b/test/test.pubkey.js index 9eeb7df..a9bf39e 100644 --- a/test/test.pubkey.js +++ b/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(); diff --git a/test/test.random.js b/test/test.random.js index a97708f..242f978 100644 --- a/test/test.random.js +++ b/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() { diff --git a/test/test.stealth.js b/test/test.stealth.js index 40af9b3..7ebbf7d 100644 --- a/test/test.stealth.js +++ b/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();