diff options
Diffstat (limited to 'test')
| -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 a7435a3860..188222057b 100644 --- a/test/src/rabbit_tests.erl +++ b/test/src/rabbit_tests.erl @@ -56,6 +56,7 @@ all_tests0() -> passed = test_pg_local(), passed = test_unfold(), passed = test_pmerge(), + passed = test_plmerge(), passed = test_supervisor_delayed_restart(), passed = test_table_codec(), passed = test_content_framing(), @@ -430,6 +431,12 @@ test_pmerge() -> [{c, 3} | P] = rabbit_misc:pmerge(c, 3, P), passed. +test_plmerge() -> + P1 = [{a, 1}, {b, 2}, {c, 3}], + P2 = [{a, 2}, {d, 4}], + [{a, 1}, {b, 2}, {c, 3}, {d, 4}] = rabbit_misc:plmerge(P1, P2), + passed. + test_table_codec() -> %% FIXME this does not test inexact numbers (double and float) yet, %% because they won't pass the equality assertions |
