mirror of https://github.com/embarklabs/embark.git
fix: update old contracts to the new require syntax
This commit is contained in:
parent
117f010baa
commit
5b1bbf324c
|
@ -9,6 +9,6 @@ contract MyTest {
|
|||
}
|
||||
|
||||
function valueShouldBe1() public {
|
||||
Assert.equal(1, i, "value is not correct");
|
||||
require(1 == i, "value is not correct");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@ contract OwnableTests {
|
|||
}
|
||||
|
||||
function shouldnotbezeroAddress() public {
|
||||
Assert.equal(true, true, "owner is uninitialized");
|
||||
require(true == true, "owner is uninitialized");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue