Adds support for boolean literals in soltest.

This commit is contained in:
Erik Kundt
2019-02-21 23:28:48 +01:00
parent 773a3ff880
commit f683ceb3f8
7 changed files with 114 additions and 8 deletions
@@ -11,6 +11,9 @@ contract C {
function x(bytes32 b) public returns (bytes32) {
return b;
}
function t(bool b) public returns (bool) {
return !b;
}
}
// ----
// f() -> 1
@@ -19,3 +22,4 @@ contract C {
// j() -> FAILURE
// i() # Does not exist. # -> FAILURE # Reverts. #
// x(bytes32): 0x31 -> 0x31
// t(bool): true -> false