update cli tests

This commit is contained in:
Leo Alt 2022-11-23 17:38:50 +01:00
parent 87d277ec05
commit c3a7adad27
6 changed files with 10 additions and 10 deletions

View File

@ -5,8 +5,8 @@ Warning: Return value of low-level calls not used.
| ^^^^^^^^^^^
Info: Contract invariant(s) for model_checker_invariants_all/input.sol:test:
((x <= 0) || true)
(!(x >= 1) || true)
Reentrancy property(ies) for model_checker_invariants_all/input.sol:test:
(((!(x <= 0) || (x' <= 0)) && (!(x <= 0) || (<errorCode> <= 0))) || true)
(((!(x <= 0) || !(x' >= 1)) && (!(x <= 0) || !(<errorCode> >= 1))) || true)
<errorCode> = 0 -> no errors
<errorCode> = 1 -> Assertion failed at assert(x == 0)

View File

@ -1,2 +1,2 @@
Info: Contract invariant(s) for model_checker_invariants_contract/input.sol:test:
((x <= 0) || true)
(!(x >= 1) || true)

View File

@ -5,8 +5,8 @@ Warning: Return value of low-level calls not used.
| ^^^^^^^^^^^
Info: Contract invariant(s) for model_checker_invariants_contract_reentrancy/input.sol:test:
((x <= 0) || true)
(!(x >= 1) || true)
Reentrancy property(ies) for model_checker_invariants_contract_reentrancy/input.sol:test:
(((!(x <= 0) || (x' <= 0)) && (!(x <= 0) || (<errorCode> <= 0))) || true)
(((!(x <= 0) || !(x' >= 1)) && (!(x <= 0) || !(<errorCode> >= 1))) || true)
<errorCode> = 0 -> no errors
<errorCode> = 1 -> Assertion failed at assert(x == 0)

View File

@ -5,6 +5,6 @@ Warning: Return value of low-level calls not used.
| ^^^^^^^^^^^
Info: Reentrancy property(ies) for model_checker_invariants_reentrancy/input.sol:test:
(((!(x <= 0) || (x' <= 0)) && (!(x <= 0) || (<errorCode> <= 0))) || true)
(((!(x <= 0) || !(x' >= 1)) && (!(x <= 0) || !(<errorCode> >= 1))) || true)
<errorCode> = 0 -> no errors
<errorCode> = 1 -> Assertion failed at assert(x < 10)

View File

@ -5,12 +5,12 @@
"component": "general",
"errorCode": "1180",
"formattedMessage": "Info: Contract invariant(s) for A:test:
((x <= 0) || true)
(!(x >= 1) || true)
",
"message": "Contract invariant(s) for A:test:
((x <= 0) || true)
(!(x >= 1) || true)
",
"severity": "info",
"type": "Info"

View File

@ -25,14 +25,14 @@
"component": "general",
"errorCode": "1180",
"formattedMessage": "Info: Reentrancy property(ies) for A:test:
(((!(x <= 0) || (x' <= 0)) && (!(x <= 0) || (<errorCode> <= 0))) || true)
(((!(x <= 0) || !(x' >= 1)) && (!(x <= 0) || !(<errorCode> >= 1))) || true)
<errorCode> = 0 -> no errors
<errorCode> = 1 -> Assertion failed at assert(x < 10)
",
"message": "Reentrancy property(ies) for A:test:
(((!(x <= 0) || (x' <= 0)) && (!(x <= 0) || (<errorCode> <= 0))) || true)
(((!(x <= 0) || !(x' >= 1)) && (!(x <= 0) || !(<errorCode> >= 1))) || true)
<errorCode> = 0 -> no errors
<errorCode> = 1 -> Assertion failed at assert(x < 10)
",