Changed .eq to .equal. (#1231)

This commit is contained in:
Nicolás Venturo
2018-08-23 17:47:47 -03:00
committed by Matt Condon
parent d58fac8281
commit 48fe7b8cbf
6 changed files with 57 additions and 57 deletions

View File

@ -19,8 +19,8 @@ contract('PausableToken', function ([_, owner, recipient, anotherAccount]) {
it('emits a Pause event', async function () {
const { logs } = await this.token.pause({ from });
logs.length.should.eq(1);
logs[0].event.should.eq('Pause');
logs.length.should.equal(1);
logs[0].event.should.equal('Pause');
});
});
@ -61,8 +61,8 @@ contract('PausableToken', function ([_, owner, recipient, anotherAccount]) {
it('emits an Unpause event', async function () {
const { logs } = await this.token.unpause({ from });
logs.length.should.eq(1);
logs[0].event.should.eq('Unpause');
logs.length.should.equal(1);
logs[0].event.should.equal('Unpause');
});
});