diff options
author | Sverker Eriksson <[email protected]> | 2018-09-24 13:36:00 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-09-24 18:46:07 +0200 |
commit | 06bea0b88a220248a6ddc2dff558a6fa0e5fd043 (patch) | |
tree | 1eae4801e5dfc3830f170d1a612722779474c31e /lib | |
parent | cc8c3169d79c455514f01df3753456f3f064092d (diff) | |
download | otp-06bea0b88a220248a6ddc2dff558a6fa0e5fd043.tar.gz otp-06bea0b88a220248a6ddc2dff558a6fa0e5fd043.tar.bz2 otp-06bea0b88a220248a6ddc2dff558a6fa0e5fd043.zip |
ets_SUITE: Reduce table type combos by removing "void"
Avoid repeating same tests for [] and [set].
Test case 'default' verifies 'set' to be the default type.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stdlib/test/ets_SUITE.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stdlib/test/ets_SUITE.erl b/lib/stdlib/test/ets_SUITE.erl index ea93cfe9b1..efeeec4ac2 100644 --- a/lib/stdlib/test/ets_SUITE.erl +++ b/lib/stdlib/test/ets_SUITE.erl @@ -7247,11 +7247,11 @@ repeat_for_opts(F, [OptList | Tail], AccList) when is_list(OptList) -> repeat_for_opts(F, [Atom | Tail], AccList) when is_atom(Atom) -> repeat_for_opts(F, [repeat_for_opts_atom2list(Atom) | Tail ], AccList). -repeat_for_opts_atom2list(set_types) -> [void,set,ordered_set,stim_cat_ord_set,cat_ord_set]; +repeat_for_opts_atom2list(set_types) -> [set,ordered_set,stim_cat_ord_set,cat_ord_set]; repeat_for_opts_atom2list(ord_set_types) -> [ordered_set,stim_cat_ord_set,cat_ord_set]; -repeat_for_opts_atom2list(all_types) -> [void,set,ordered_set,stim_cat_ord_set,cat_ord_set,bag,duplicate_bag]; -repeat_for_opts_atom2list(all_non_stim_types) -> [void,set,ordered_set,cat_ord_set,bag,duplicate_bag]; -repeat_for_opts_atom2list(all_non_stim_set_types) -> [void,set,ordered_set,cat_ord_set]; +repeat_for_opts_atom2list(all_types) -> [set,ordered_set,stim_cat_ord_set,cat_ord_set,bag,duplicate_bag]; +repeat_for_opts_atom2list(all_non_stim_types) -> [set,ordered_set,cat_ord_set,bag,duplicate_bag]; +repeat_for_opts_atom2list(all_non_stim_set_types) -> [set,ordered_set,cat_ord_set]; repeat_for_opts_atom2list(write_concurrency) -> [{write_concurrency,false},{write_concurrency,true}]; repeat_for_opts_atom2list(read_concurrency) -> [{read_concurrency,false},{read_concurrency,true}]; repeat_for_opts_atom2list(compressed) -> [compressed,void]. |