diff --git a/test/aeso_compiler_tests.erl b/test/aeso_compiler_tests.erl index 1bd84a0..ed50821 100644 --- a/test/aeso_compiler_tests.erl +++ b/test/aeso_compiler_tests.erl @@ -1264,10 +1264,7 @@ failing_contracts() -> [<>, <>, - <> + "The name of the compile-time constant cannot have pattern matching">> ]) ]. diff --git a/test/contracts/toplevel_constants_invalid_id.aes b/test/contracts/toplevel_constants_invalid_id.aes index 719a932..3b1820b 100644 --- a/test/contracts/toplevel_constants_invalid_id.aes +++ b/test/contracts/toplevel_constants_invalid_id.aes @@ -1,4 +1,3 @@ contract C = let x::_ = [1,2,3,4] let y::(p = z::_) = [1,2,3,4] - let q : bool = "str"