Skip to content

Commit faee725

Browse files
committed
Polish test
1 parent 4bbed58 commit faee725

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

deps/rabbitmq_stream/test/rabbit_stream_utils_SUITE.erl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ end_per_testcase(_TestCase, _Config) ->
4646

4747
sort_partitions(_Config) ->
4848
[] = rabbit_stream_utils:sort_partitions([]),
49-
%[binding(<<"a">>, 1), binding(<<"b">>, 1),
50-
% binding(<<"c">>, 2)]
5149
?assertEqual([<<"a">>, <<"b">>, <<"c">>],
5250
[S
5351
|| #binding{destination = #resource{name = S}}
@@ -57,12 +55,12 @@ sort_partitions(_Config) ->
5755
1),
5856
binding(<<"a">>,
5957
0)])]),
60-
?assertEqual([<<"a">>, <<"c">>, <<"not-order-field">>],
58+
?assertEqual([<<"a">>, <<"c">>, <<"no-order-field">>],
6159
[S
6260
|| #binding{destination = #resource{name = S}}
6361
<- rabbit_stream_utils:sort_partitions([binding(<<"c">>,
6462
10),
65-
binding(<<"not-order-field">>),
63+
binding(<<"no-order-field">>),
6664
binding(<<"a">>,
6765
0)])]),
6866
ok.

0 commit comments

Comments
 (0)