Update tests.

This commit is contained in:
Alexander Arlt
2019-11-01 14:54:47 -05:00
parent 793b906e05
commit cd3ad73b5a
109 changed files with 349 additions and 213 deletions
@@ -1,3 +0,0 @@
abstract abstract contract A { constructor() public {} }
// ----
// ParserError: (9-17): Contract expected.
@@ -0,0 +1,7 @@
interface A {
function utterance() external returns (bytes32);
}
contract B is A {
}
// ----
// TypeError: (69-88): Contract "B" should be marked as abstract.
@@ -1,3 +1,3 @@
abstract interface A { }
// ----
// ParserError: (0-8): Only contracts can be abstract.
// TypeError: (0-24): Only contracts can be abstract.
@@ -1,3 +1,3 @@
abstract library A { }
// ----
// ParserError: (0-8): Only contracts can be abstract.
// TypeError: (0-22): Only contracts can be abstract.