From 347e63e68cda29d5fdcf5ffc0d551cc6d7a9bc6d Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Sun, 6 Sep 2015 06:53:40 -0700 Subject: [PATCH] Explicitly name each version of the output under comparison. --- test/hope_list_SUITE.erl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -> -- 2.20.1