From: Siraaj Khandkar Date: Sun, 6 Sep 2015 13:53:40 +0000 (-0700) Subject: Explicitly name each version of the output under comparison. X-Git-Tag: 3.8.0~1 X-Git-Url: https://git.xandkar.net/?p=hope.git;a=commitdiff_plain;h=347e63e68cda29d5fdcf5ffc0d551cc6d7a9bc6d Explicitly name each version of the output under comparison. --- diff --git a/test/hope_list_SUITE.erl b/test/hope_list_SUITE.erl index 29b1b38..e1f8375 100644 --- a/test/hope_list_SUITE.erl +++ b/test/hope_list_SUITE.erl @@ -112,8 +112,9 @@ t_auto_unique_preserve_order(_Cfg) -> ?TEST(?FORALL(L, ?type:list(), begin Duplicates = L -- lists:usort(L), - hope_list:unique_preserve_order(L) == - lists:reverse(lists:reverse(L) -- Duplicates) + UniquesInOrderA = lists:reverse(lists:reverse(L) -- Duplicates), + UniquesInOrderB = hope_list:unique_preserve_order(L), + UniquesInOrderA == UniquesInOrderB end)). t_auto_hope_list_specs(_Cfg) ->