fix varint test broken in browser

This commit is contained in:
Ryan X. Charles 2014-09-17 16:03:57 -07:00
parent 0212e4bd4c
commit f727c5ad25
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ describe('Varint', function() {
describe('#fromBN', function() {
it('should set a number', function() {
var varint = Varint().fromNumber(BN(5));
var varint = Varint().fromBN(BN(5));
varint.toNumber().should.equal(5);
});