diff --git a/test/aeso_compiler_tests.erl b/test/aeso_compiler_tests.erl index f6ac15a..331e996 100644 --- a/test/aeso_compiler_tests.erl +++ b/test/aeso_compiler_tests.erl @@ -24,7 +24,8 @@ simple_compile_test_() -> type_info := _} when Backend == aevm -> ?assertMatch(Code when is_binary(Code), ByteCode); Code when Backend == fate, is_tuple(Code) -> - ?assertMatch(#{}, aeb_fate_code:functions(Code)); + Code1 = aeb_fate_code:deserialize(aeb_fate_code:serialize(Code)), + ?assertMatch({X, X}, {Code1, Code}); ErrBin -> io:format("\n~s", [ErrBin]), error(ErrBin)