fix: update old contracts to the new require syntax

This commit is contained in:
Jonathan Rainville 2019-10-22 16:31:10 -04:00
parent 117f010baa
commit 5b1bbf324c
2 changed files with 2 additions and 2 deletions

View File

@ -9,6 +9,6 @@ contract MyTest {
}
function valueShouldBe1() public {
Assert.equal(1, i, "value is not correct");
require(1 == i, "value is not correct");
}
}

View File

@ -12,6 +12,6 @@ contract OwnableTests {
}
function shouldnotbezeroAddress() public {
Assert.equal(true, true, "owner is uninitialized");
require(true == true, "owner is uninitialized");
}
}