Add name for split-test to prevent failure in other places

This commit is contained in:
Mathias Baumann 2020-09-29 10:21:52 +02:00
parent 5cf84c0f83
commit 4c02cd2310
6 changed files with 9 additions and 10 deletions

View File

@ -1,4 +1,4 @@
==== Source: ==== ==== Source: C.sol ====
import "B.sol"; import "B.sol";
pragma experimental SMTChecker; pragma experimental SMTChecker;
contract C is B { contract C is B {
@ -21,5 +21,4 @@ contract B is A {
} }
} }
// ---- // ----
// Warning 6328: (103-117): CHC: Assertion violation happens here. // Warning 6328: (C.sol:103-117): CHC: Assertion violation happens here.
// Warning 6328: (B.sol:71-85): CHC: Assertion violation happens here.

View File

@ -1,4 +1,4 @@
==== Source: ==== ==== Source: C.sol ====
import "B.sol"; import "B.sol";
pragma experimental SMTChecker; pragma experimental SMTChecker;
contract C is B { contract C is B {
@ -23,5 +23,5 @@ contract B is A {
} }
// ---- // ----
// Warning 6328: (B.sol:103-117): CHC: Assertion violation happens here. // Warning 6328: (B.sol:103-117): CHC: Assertion violation happens here.
// Warning 6328: (103-117): CHC: Assertion violation happens here.
// Warning 6328: (B.sol:103-117): CHC: Assertion violation happens here. // Warning 6328: (B.sol:103-117): CHC: Assertion violation happens here.
// Warning 6328: (C.sol:103-117): CHC: Assertion violation happens here.

View File

@ -1,4 +1,4 @@
==== Source: ==== ==== Source: C.sol ====
import "A.sol"; import "A.sol";
pragma experimental SMTChecker; pragma experimental SMTChecker;
contract C is A { contract C is A {
@ -22,5 +22,5 @@ contract B is A {
} }
} }
// ---- // ----
// Warning 6328: (103-117): CHC: Assertion violation happens here.
// Warning 6328: (B.sol:103-117): CHC: Assertion violation happens here. // Warning 6328: (B.sol:103-117): CHC: Assertion violation happens here.
// Warning 6328: (C.sol:103-117): CHC: Assertion violation happens here.

View File

@ -1,6 +1,6 @@
==== Source: A.sol ==== ==== Source: A.sol ====
contract A { function f() public {} } contract A { function f() public {} }
==== Source:==== ==== Source: B.sol ====
import "A.sol"; import "A.sol";
pragma experimental SMTChecker; pragma experimental SMTChecker;
contract C is A {} contract C is A {}

View File

@ -1,4 +1,4 @@
==== Source: ==== ==== Source: B.sol ====
import "A.sol"; import "A.sol";
pragma experimental SMTChecker; pragma experimental SMTChecker;
contract C is A {} contract C is A {}

View File

@ -1,4 +1,4 @@
==== Source: ==== ==== Source: B.sol ====
import "A.sol"; import "A.sol";
pragma experimental SMTChecker; pragma experimental SMTChecker;
contract C is A {} contract C is A {}