Fixed a type error and test, definitely WIP

This commit is contained in:
Robert Virding
2019-04-25 12:19:49 +02:00
parent 2d3e6ab6e0
commit 5455d0fcd7
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -24,7 +24,7 @@ test_cases(1) ->
[#{<<"name">> => <<"a">>,
<<"arguments">> =>
[#{<<"name">> => <<"i">>,
<<"type">> => [<<"int">>]}],
<<"type">> => <<"int">>}],
<<"returns">> => <<"int">>,
<<"stateful">> => false}]}},
DecACI = <<"contract C =\n"
@@ -44,7 +44,7 @@ test_cases(2) ->
<<"functions">> =>
[#{<<"arguments">> =>
[#{<<"name">> => <<"i">>,
<<"type">> => [<<"int">>]}],
<<"type">> => <<"int">>}],
<<"name">> => <<"a">>,
<<"returns">> => <<"int">>,
<<"stateful">> => false}]}},
@@ -60,7 +60,7 @@ test_cases(3) ->
[#{<<"arguments">> =>
[#{<<"name">> => <<"i">>,
<<"type">> =>
[#{<<"C.bert">> => [<<"string">>]}]}],
#{<<"C.bert">> => [<<"string">>]}}],
<<"name">> => <<"a">>,<<"returns">> => <<"int">>,
<<"stateful">> => false}],
<<"name">> => <<"C">>,