diff options
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/rabbit_tests.erl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/src/rabbit_tests.erl b/test/src/rabbit_tests.erl index 891af272fb..a7435a3860 100644 --- a/test/src/rabbit_tests.erl +++ b/test/src/rabbit_tests.erl @@ -55,6 +55,7 @@ all_tests0() -> passed = test_priority_queue(), passed = test_pg_local(), passed = test_unfold(), + passed = test_pmerge(), passed = test_supervisor_delayed_restart(), passed = test_table_codec(), passed = test_content_framing(), @@ -423,6 +424,12 @@ test_unfold() -> end, 10), passed. +test_pmerge() -> + P = [{a, 1}, {b, 2}], + P = rabbit_misc:pmerge(a, 3, P), + [{c, 3} | P] = rabbit_misc:pmerge(c, 3, P), + passed. + test_table_codec() -> %% FIXME this does not test inexact numbers (double and float) yet, %% because they won't pass the equality assertions |
