2023-08-06 14:58:11 +00:00
|
|
|
defmodule Pleroma.Test.Matchers.List do
|
|
|
|
import ExUnit.Assertions
|
2023-08-06 15:20:46 +00:00
|
|
|
|
2023-08-06 14:58:11 +00:00
|
|
|
def assert_unordered_list_equal(list_a, list_b) when is_list(list_a) and is_list(list_b) do
|
|
|
|
assert Enum.sort(list_a) == Enum.sort(list_b)
|
|
|
|
end
|
|
|
|
end
|