diff --git a/test/aeso_compiler_tests.erl b/test/aeso_compiler_tests.erl index 35d7485..8e54991 100644 --- a/test/aeso_compiler_tests.erl +++ b/test/aeso_compiler_tests.erl @@ -876,9 +876,12 @@ failing_contracts() -> " `g5 : ((Animal) => Animal) => Cat`\n" "to arguments\n" " `x : (Cat) => Cat`">>, - <> + "when checking the type of the expression `f6() : option(Animal)` against the expected type `option(Cat)`">>, + <> ]) , ?TYPE_ERROR(polymorphism_variance_switching_custom_types, [<