Skip to content

Commit

Permalink
amqp10_common: Don't wrap export for test in test macro
Browse files Browse the repository at this point in the history
The application is not always recompiled which causes tests to fail
because they cannot call `serial_number:usort/1`.
  • Loading branch information
gomoripeti committed Nov 12, 2024
1 parent 6a7f9b4 commit c0418ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deps/amqp10_common/src/serial_number.erl
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
diff/2,
foldl/4]).

-ifdef(TEST).
%% For tests.
-export([usort/1]).
-endif.

-type serial_number() :: sequence_no().
-export_type([serial_number/0]).
Expand Down

0 comments on commit c0418ba

Please sign in to comment.