* replacing all instances of from: anyone with from: other * replacing all instances of from: anyone with from: other * replacing all instances of from: anyone with from: other * changing anyone to other * changing anyone to other
This commit is contained in:
@ -3,7 +3,7 @@ const { bufferToHex, keccak256 } = require('ethereumjs-util');
|
||||
|
||||
const ERC1820ImplementerMock = artifacts.require('ERC1820ImplementerMock');
|
||||
|
||||
contract('ERC1820Implementer', function ([_, registryFunder, implementee, anyone]) {
|
||||
contract('ERC1820Implementer', function ([_, registryFunder, implementee, other]) {
|
||||
const ERC1820_ACCEPT_MAGIC = bufferToHex(keccak256('ERC1820_ACCEPT_MAGIC'));
|
||||
|
||||
beforeEach(async function () {
|
||||
@ -45,7 +45,7 @@ contract('ERC1820Implementer', function ([_, registryFunder, implementee, anyone
|
||||
});
|
||||
|
||||
it('returns false when interface implementation for non-supported addresses is queried', async function () {
|
||||
(await this.implementer.canImplementInterfaceForAddress(this.interfaceA, anyone))
|
||||
(await this.implementer.canImplementInterfaceForAddress(this.interfaceA, other))
|
||||
.should.not.equal(ERC1820_ACCEPT_MAGIC);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user