diff options
author | Peter Andersson <[email protected]> | 2014-03-24 09:58:34 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2014-03-24 09:58:34 +0100 |
commit | 959e8af4bdfd60b9e6fa0e3266ea599a6e2df71d (patch) | |
tree | 699a3d41b30746ecd12b45bc917546f62e4552e1 /lib/common_test/src/ct_framework.erl | |
parent | b46352eabdf52aff1de2f9db05b79be9076b4489 (diff) | |
download | otp-959e8af4bdfd60b9e6fa0e3266ea599a6e2df71d.tar.gz otp-959e8af4bdfd60b9e6fa0e3266ea599a6e2df71d.tar.bz2 otp-959e8af4bdfd60b9e6fa0e3266ea599a6e2df71d.zip |
Fix code to get rid of dialyzer warnings
Diffstat (limited to 'lib/common_test/src/ct_framework.erl')
-rw-r--r-- | lib/common_test/src/ct_framework.erl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/common_test/src/ct_framework.erl b/lib/common_test/src/ct_framework.erl index 63bfea68c4..a0bfdbfcf7 100644 --- a/lib/common_test/src/ct_framework.erl +++ b/lib/common_test/src/ct_framework.erl @@ -660,10 +660,7 @@ end_tc(Mod,Func,TCPid,Result,Args,Return) -> ct_util:delete_testdata(comment), ct_util:delete_suite_data(last_saved_config), - FuncSpec = case group_or_func(Func,Args) of - {_,_GroupName,_} = Group -> Group; - _ -> Func - end, + FuncSpec = group_or_func(Func,Args), {Result1,FinalNotify} = case ct_hooks:end_tc( |