Skip to content

Commit 01af5ed

Browse files
Fix pncounter join decomposition unit test
1 parent 7c66ea3 commit 01af5ed

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/state_pncounter.erl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,11 @@ join_decomposition_test() ->
338338
Decomp0 = join_decomposition(Counter0),
339339
Decomp1 = join_decomposition(Counter1),
340340
?assertEqual([], Decomp0),
341-
List = [{?TYPE, [{1, {2, 0}}]}, {?TYPE, [{2, {1, 0}}]}, {?TYPE, [{4, {1, 0}}]},
342-
{?TYPE, [{1, {0, 1}}]}, {?TYPE, [{2, {0, 0}}]}, {?TYPE, [{4, {0, 2}}]}],
341+
List = [{?TYPE, [{1, {2, 0}}]},
342+
{?TYPE, [{1, {0, 1}}]},
343+
{?TYPE, [{2, {1, 0}}]},
344+
{?TYPE, [{4, {1, 0}}]},
345+
{?TYPE, [{4, {0, 2}}]}],
343346
?assertEqual(lists:sort(List), lists:sort(Decomp1)).
344347

345348
encode_decode_test() ->

0 commit comments

Comments
 (0)