Skip to content

Commit b673d4c

Browse files
gomoripetimichaelklishin
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 c9504fa)
1 parent b517947 commit b673d4c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

deps/amqp10_common/src/serial_number.erl

Lines changed: 1 addition & 2 deletions
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)