Skip to content

Commit 6badae5

Browse files
gomoripetimergify[bot]
authored andcommitted
amqp10_common: Don't wrap export for test in test macro
The application is not always recompiled which causes tests to fail because they cannot call `serial_number:usort/1`. (cherry picked from commit 05a3733) (cherry picked from commit 4eb5b82)
1 parent 3e1b30f commit 6badae5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

deps/amqp10_common/src/serial_number.erl

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
diff/2,
1616
foldl/4]).
1717

18-
-ifdef(TEST).
18+
%% For tests.
1919
-export([usort/1]).
20-
-endif.
2120

2221
-type serial_number() :: sequence_no().
2322
-export_type([serial_number/0]).

0 commit comments

Comments
 (0)