home
/
code
/
hope.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Property test specs and add coverage
[hope.git]
/
test
/
hope_list_SUITE.erl
diff --git
a/test/hope_list_SUITE.erl
b/test/hope_list_SUITE.erl
index
819c4fc
..
fd2393c
100644
(file)
--- a/
test/hope_list_SUITE.erl
+++ b/
test/hope_list_SUITE.erl
@@
-11,6
+11,7
@@
%% Test cases
-export(
[ t_unique_preserve_order/1
%% Test cases
-export(
[ t_unique_preserve_order/1
+ , t_hope_list_specs/1
]).
]).
@@
-29,8
+30,9
@@
all() ->
groups() ->
Tests =
[ t_unique_preserve_order
groups() ->
Tests =
[ t_unique_preserve_order
+ , t_hope_list_specs
],
],
- Properties = [],
+ Properties = [
parallel
],
[{?GROUP, Properties, Tests}].
[{?GROUP, Properties, Tests}].
@@
-48,3
+50,6
@@
prop_unique_preserve_order() ->
hope_list:unique_preserve_order(L) ==
lists:reverse(lists:reverse(L) -- Duplicates)
end).
hope_list:unique_preserve_order(L) ==
lists:reverse(lists:reverse(L) -- Duplicates)
end).
+
+t_hope_list_specs(_) ->
+ [] = proper:check_specs(hope_list).
This page took
0.018191 seconds
and
4
git commands to generate.