aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2012-11-23 15:17:07 +0100
committerPeter Andersson <[email protected]>2012-11-23 15:17:07 +0100
commit5bcf153426cda2daaab0236a20ccb3356cfc3637 (patch)
treeb878a0b24901efeb7b66a6d7972570e27e30cbaf /lib/common_test
parent4c4c78734e5376264e6fca95318ae0e45ce34b37 (diff)
parent561d818c5b63198565a66644272d6037e6d938bc (diff)
downloadotp-5bcf153426cda2daaab0236a20ccb3356cfc3637.tar.gz
otp-5bcf153426cda2daaab0236a20ccb3356cfc3637.tar.bz2
otp-5bcf153426cda2daaab0236a20ccb3356cfc3637.zip
Merge branch 'peppe/common_test/group_search_r15b03.fix' into maint
* peppe/common_test/group_search_r15b03.fix: Fix silly bug
Diffstat (limited to 'lib/common_test')
-rw-r--r--lib/common_test/src/ct_groups.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_groups.erl b/lib/common_test/src/ct_groups.erl
index 24ca3826a8..74ab5e5439 100644
--- a/lib/common_test/src/ct_groups.erl
+++ b/lib/common_test/src/ct_groups.erl
@@ -176,7 +176,7 @@ find(Mod, GrNames, all, [{M,TC} | Gs], Known,
%% Check if test case should be saved
find(Mod, GrNames, TCs, [TC | Gs], Known,
Defs, FindAll) when is_atom(TC) orelse
- ((size(TC) == 2) and (hd(TC) /= group)) ->
+ ((size(TC) == 2) and (element(1,TC) /= group)) ->
Case =
if is_atom(TC) ->
Tuple = {Mod,TC},