Commit 12303cea by Francisco Giordano

fix treatment of bignumber in CappedToken test

parent 9001ce9d
...@@ -18,7 +18,7 @@ contract('Capped', function(accounts) { ...@@ -18,7 +18,7 @@ contract('Capped', function(accounts) {
it('should start with the correct cap', async function() { it('should start with the correct cap', async function() {
let _cap = await token.cap(); 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() { it('should mint when amount is less than cap', async function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment