aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-11-17 16:55:43 +0100
committerLukas Larsson <[email protected]>2010-12-08 18:07:47 +0100
commit87a24f6a5c9a032baf64b2a3427c899c5e8632e7 (patch)
treec890d68650bff04215a018a2131205e4ea9b259b /lib/common_test/src
parent587bceba86718fb935e367a558af9f60bcd2bec8 (diff)
downloadotp-87a24f6a5c9a032baf64b2a3427c899c5e8632e7.tar.gz
otp-87a24f6a5c9a032baf64b2a3427c899c5e8632e7.tar.bz2
otp-87a24f6a5c9a032baf64b2a3427c899c5e8632e7.zip
Update so that non tuple return values are not filtered out
Diffstat (limited to 'lib/common_test/src')
-rw-r--r--lib/common_test/src/ct_suite_callback.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_suite_callback.erl b/lib/common_test/src/ct_suite_callback.erl
index ab5c005a43..124397b222 100644
--- a/lib/common_test/src/ct_suite_callback.erl
+++ b/lib/common_test/src/ct_suite_callback.erl
@@ -136,8 +136,8 @@ call([], Config, _Meta, CBs) ->
Config.
remove(Key,List) when is_list(List) ->
- [Conf || Conf <- List,
- element(1, Conf) =/= Key];
+ [Conf || Conf <- List, is_tuple(Conf) =:= false
+ orelse element(1, Conf) =/= Key];
remove(_, Else) ->
Else.