Explicitly name each version of the output under comparison.
authorSiraaj Khandkar <siraaj@khandkar.net>
Sun, 6 Sep 2015 13:53:40 +0000 (06:53 -0700)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sun, 6 Sep 2015 13:53:40 +0000 (06:53 -0700)
test/hope_list_SUITE.erl

index 29b1b38..e1f8375 100644 (file)
@@ -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) ->
This page took 0.020238 seconds and 4 git commands to generate.