Skip to content

Commit

Permalink
Add name for split-test to prevent failure in other places
Browse files Browse the repository at this point in the history
  • Loading branch information
Marenz committed Sep 29, 2020
1 parent d23aff4 commit 63b8f78
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
5 changes: 2 additions & 3 deletions test/libsolidity/smtCheckerTests/imports/imported_fail_1.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
==== Source: ====
==== Source: C.sol ====
import "B.sol";
pragma experimental SMTChecker;
contract C is B {
Expand All @@ -21,5 +21,4 @@ contract B is A {
}
}
// ----
// Warning 6328: (103-117): CHC: Assertion violation happens here.
// Warning 6328: (B.sol:71-85): CHC: Assertion violation happens here.
// Warning 6328: (C.sol:103-117): CHC: Assertion violation happens here.
4 changes: 2 additions & 2 deletions test/libsolidity/smtCheckerTests/imports/imported_fail_2.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
==== Source: ====
==== Source: C.sol ====
import "B.sol";
pragma experimental SMTChecker;
contract C is B {
Expand All @@ -23,5 +23,5 @@ contract B is A {
}
// ----
// 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: (C.sol:103-117): CHC: Assertion violation happens here.
4 changes: 2 additions & 2 deletions test/libsolidity/smtCheckerTests/imports/imported_fail_3.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
==== Source: ====
==== Source: C.sol ====
import "A.sol";
pragma experimental SMTChecker;
contract C is A {
Expand All @@ -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: (C.sol:103-117): CHC: Assertion violation happens here.
2 changes: 1 addition & 1 deletion test/libsolidity/smtCheckerTests/imports/simple.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
==== Source: A.sol ====
contract A { function f() public {} }
==== Source:====
==== Source: B.sol ====
import "A.sol";
pragma experimental SMTChecker;
contract C is A {}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
==== Source: ====
==== Source: B.sol ====
import "A.sol";
pragma experimental SMTChecker;
contract C is A {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
==== Source: ====
==== Source: B.sol ====
import "A.sol";
pragma experimental SMTChecker;
contract C is A {}
Expand Down

0 comments on commit 63b8f78

Please sign in to comment.