Skip to content

Commit 7338f60

Browse files
committed
Adjust older statem test to new specs
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.
1 parent 68f0321 commit 7338f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/command_props.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ prop_check_true() ->
110110
?MOD:clean_up(),
111111
?MOD:set_up(),
112112
{{_, State, ok}, Env} = proper_statem:run(?MOD, Seq, []),
113-
Res = [proper_statem:execute(C, Env, ?MOD) || C <- Par],
113+
Res = [begin {ok, R}=proper_statem:execute(C, Env, ?MOD), R end || C <- Par],
114114
V = proper_statem:check(?MOD, State, Env, false, [], Res),
115115
equals(V, true)
116116
end).

0 commit comments

Comments
 (0)