Updating tests after improving Yul error reporting

This commit is contained in:
hrkrshnn
2021-02-09 16:55:33 +01:00
parent 5a21e33743
commit 8167029dc1
42 changed files with 185 additions and 185 deletions
+2 -2
View File
@@ -140,8 +140,8 @@ BOOST_AUTO_TEST_CASE(builtins_analysis)
SimpleDialect dialect;
BOOST_CHECK(successParse("{ let a, b, c := builtin(1, 2) }", dialect));
CHECK_ERROR_DIALECT("{ let a, b, c := builtin(1) }", TypeError, "Function expects 2 arguments but got 1", dialect);
CHECK_ERROR_DIALECT("{ let a, b := builtin(1, 2) }", DeclarationError, "Variable count mismatch: 2 variables and 3 values.", dialect);
CHECK_ERROR_DIALECT("{ let a, b, c := builtin(1) }", TypeError, "Function \"builtin\" expects 2 arguments but got 1", dialect);
CHECK_ERROR_DIALECT("{ let a, b := builtin(1, 2) }", DeclarationError, "Variable count mismatch for declaration of \"a, b\": 2 variables and 3 values.", dialect);
}
BOOST_AUTO_TEST_CASE(default_types_set)