mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update old tests
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
pragma abicoder v1;
|
||||
pragma experimental SMTChecker;
|
||||
|
||||
struct Item {
|
||||
uint x;
|
||||
uint y;
|
||||
@@ -18,5 +16,7 @@ contract D {
|
||||
assert(b == 0); // should fail
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// SMTEngine: all
|
||||
// ----
|
||||
// Warning 6328: (300-314): CHC: Assertion violation happens here.\nCounterexample:\nitems = [{x: 42, y: 43}]\na = 42\nb = 43\n\nTransaction trace:\nD.constructor()\nState: items = []\nD.test()
|
||||
// Warning 6328: (267-281): CHC: Assertion violation happens here.\nCounterexample:\nitems = [{x: 42, y: 43}]\na = 42\nb = 43\n\nTransaction trace:\nD.constructor()\nState: items = []\nD.test()
|
||||
|
||||
Reference in New Issue
Block a user