Make fate-backend also return a Map

This commit is contained in:
Hans Svensson
2019-06-10 15:13:34 +02:00
parent 7b5db76c13
commit 3e2281a834
2 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ simple_compile_test_() ->
contract_source := _,
type_info := _} when Backend == aevm ->
?assertMatch(Code when is_binary(Code), ByteCode);
Code when Backend == fate, is_tuple(Code) ->
#{fate_code := Code} when Backend == fate ->
Code1 = aeb_fate_code:deserialize(aeb_fate_code:serialize(Code)),
?assertMatch({X, X}, {Code1, Code});
ErrBin ->