fix treatment of bignumber in CappedToken test

This commit is contained in:
Francisco Giordano
2017-11-22 15:22:59 -03:00
parent 9001ce9d3a
commit 12303ceaf5

View File

@ -18,7 +18,7 @@ contract('Capped', function(accounts) {
it('should start with the correct cap', async function() {
let _cap = await token.cap();
assert.equal(cap.toNumber(), _cap.toNumber());
assert(cap.eq(_cap));
})
it('should mint when amount is less than cap', async function() {