* 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,13 +3,13 @@ require('openzeppelin-test-helpers');
|
||||
const AddressImpl = artifacts.require('AddressImpl');
|
||||
const SimpleToken = artifacts.require('SimpleToken');
|
||||
|
||||
contract('Address', function ([_, anyone]) {
|
||||
contract('Address', function ([_, other]) {
|
||||
beforeEach(async function () {
|
||||
this.mock = await AddressImpl.new();
|
||||
});
|
||||
|
||||
it('should return false for account address', async function () {
|
||||
(await this.mock.isContract(anyone)).should.equal(false);
|
||||
(await this.mock.isContract(other)).should.equal(false);
|
||||
});
|
||||
|
||||
it('should return true for contract address', async function () {
|
||||
|
||||
Reference in New Issue
Block a user