Cover cmdlineTests.sh errors

This commit is contained in:
a3d4
2020-07-09 14:39:05 +02:00
parent 8548bf1b4c
commit a068583bec
5 changed files with 32 additions and 10 deletions
@@ -0,0 +1,7 @@
==== Source: a ====
contract A { }
==== Source: b ====
import {C} from "a";
contract B { }
// ----
// DeclarationError 2904: (b:0-20): Declaration "C" not found in "a" (referenced as "a").
@@ -0,0 +1,3 @@
unexpected
// ----
// ParserError 7858: (0-10): Expected pragma, import directive or contract/interface/library/struct/enum definition.