Skip to content

Commit

Permalink
Adjust older statem test to new specs
Browse files Browse the repository at this point in the history
Typespec of `proper_statem:execute/3` had to be changed to return an
ok|error tuple so the older test had to be adjusted as well.
  • Loading branch information
x4lldux committed Mar 29, 2020
1 parent 8b66ae0 commit 6a63a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/command_props.erl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ prop_check_true() ->
?MOD:clean_up(),
?MOD:set_up(),
{{_, State, ok}, Env} = proper_statem:run(?MOD, Seq, []),
Res = [proper_statem:execute(C, Env, ?MOD) || C <- Par],
Res = [begin {ok, R}=proper_statem:execute(C, Env, ?MOD), R end || C <- Par],
V = proper_statem:check(?MOD, State, Env, false, [], Res),
equals(V, true)
end).

0 comments on commit 6a63a89

Please sign in to comment.