Skip to content

Commit e56313a

Browse files
author
Leo Alt
committed
fixup cli tests
1 parent 03d9da7 commit e56313a

File tree

5 files changed

+11
-11
lines changed
  • test/cmdlineTests
    • model_checker_invariants_all
    • model_checker_invariants_contract_reentrancy
    • model_checker_invariants_reentrancy
    • standard_model_checker_invariants_contract_reentrancy
    • standard_model_checker_invariants_reentrancy

5 files changed

+11
-11
lines changed

test/cmdlineTests/model_checker_invariants_all/err

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ Reentrancy property(ies) for model_checker_invariants_all/input.sol:test:
1111
((!(x <= 0) || !(<errorCode> >= 3)) && (!(x <= 0) || (x' <= 0)))
1212
((!(x <= 0) || (x' <= 0)) && (!(x <= 0) || (<errorCode> <= 0)))
1313
<errorCode> = 0 -> no errors
14-
<errorCode> = 1 -> Assertion failed
15-
<errorCode> = 3 -> Assertion failed
14+
<errorCode> = 1 -> Assertion failed at assert(x < 10)
15+
<errorCode> = 3 -> Assertion failed at assert(x < 10)

test/cmdlineTests/model_checker_invariants_contract_reentrancy/err

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ Reentrancy property(ies) for model_checker_invariants_contract_reentrancy/input.
1111
((!(x <= 0) || !(<errorCode> >= 3)) && (!(x <= 0) || (x' <= 0)))
1212
((!(x <= 0) || (x' <= 0)) && (!(x <= 0) || (<errorCode> <= 0)))
1313
<errorCode> = 0 -> no errors
14-
<errorCode> = 1 -> Assertion failed
15-
<errorCode> = 3 -> Assertion failed
14+
<errorCode> = 1 -> Assertion failed at assert(x < 10)
15+
<errorCode> = 3 -> Assertion failed at assert(x < 10)

test/cmdlineTests/model_checker_invariants_reentrancy/err

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ Warning: Return value of low-level calls not used.
77
Info: Reentrancy property(ies) for model_checker_invariants_reentrancy/input.sol:test:
88
((!(x <= 0) || (x' <= 0)) && (!(x <= 0) || (<errorCode> <= 0)))
99
<errorCode> = 0 -> no errors
10-
<errorCode> = 1 -> Assertion failed
10+
<errorCode> = 1 -> Assertion failed at assert(x < 10)

test/cmdlineTests/standard_model_checker_invariants_contract_reentrancy/output.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Reentrancy property(ies) for A:test:
1111
((!(x <= 0) || !(<errorCode> >= 3)) && (!(x <= 0) || (x' <= 0)))
1212
((!(x <= 0) || (x' <= 0)) && (!(x <= 0) || (<errorCode> <= 0)))
1313
<errorCode> = 0 -> no errors
14-
<errorCode> = 1 -> Assertion failed
15-
<errorCode> = 3 -> Assertion failed
14+
<errorCode> = 1 -> Assertion failed at assert(x < 10)
15+
<errorCode> = 3 -> Assertion failed at assert(x < 10)
1616

1717

1818
","message":"Contract invariant(s) for A:test:
@@ -22,6 +22,6 @@ Reentrancy property(ies) for A:test:
2222
((!(x <= 0) || !(<errorCode> >= 3)) && (!(x <= 0) || (x' <= 0)))
2323
((!(x <= 0) || (x' <= 0)) && (!(x <= 0) || (<errorCode> <= 0)))
2424
<errorCode> = 0 -> no errors
25-
<errorCode> = 1 -> Assertion failed
26-
<errorCode> = 3 -> Assertion failed
25+
<errorCode> = 1 -> Assertion failed at assert(x < 10)
26+
<errorCode> = 3 -> Assertion failed at assert(x < 10)
2727
","severity":"info","type":"Info"}],"sources":{"A":{"id":0}}}

test/cmdlineTests/standard_model_checker_invariants_reentrancy/output.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
","message":"Return value of low-level calls not used.","severity":"warning","sourceLocation":{"end":143,"file":"A","start":132},"type":"Warning"},{"component":"general","errorCode":"1180","formattedMessage":"Info: Reentrancy property(ies) for A:test:
88
((!(x <= 0) || (x' <= 0)) && (!(x <= 0) || (<errorCode> <= 0)))
99
<errorCode> = 0 -> no errors
10-
<errorCode> = 1 -> Assertion failed
10+
<errorCode> = 1 -> Assertion failed at assert(x < 10)
1111

1212

1313
","message":"Reentrancy property(ies) for A:test:
1414
((!(x <= 0) || (x' <= 0)) && (!(x <= 0) || (<errorCode> <= 0)))
1515
<errorCode> = 0 -> no errors
16-
<errorCode> = 1 -> Assertion failed
16+
<errorCode> = 1 -> Assertion failed at assert(x < 10)
1717
","severity":"info","type":"Info"}],"sources":{"A":{"id":0}}}

0 commit comments

Comments
 (0)