diff options
author | Peter Andersson <[email protected]> | 2014-03-24 15:09:01 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2014-03-24 15:09:01 +0100 |
commit | f7abe0185ce2bb091945aae469dcc3b6d2909c0c (patch) | |
tree | 4acecd0445302c039c4095af103fe68d55aa4ff3 /lib/common_test/src/ct_framework.erl | |
parent | 959e8af4bdfd60b9e6fa0e3266ea599a6e2df71d (diff) | |
download | otp-f7abe0185ce2bb091945aae469dcc3b6d2909c0c.tar.gz otp-f7abe0185ce2bb091945aae469dcc3b6d2909c0c.tar.bz2 otp-f7abe0185ce2bb091945aae469dcc3b6d2909c0c.zip |
Update incorrect type specifications
Diffstat (limited to 'lib/common_test/src/ct_framework.erl')
-rw-r--r-- | lib/common_test/src/ct_framework.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_framework.erl b/lib/common_test/src/ct_framework.erl index a0bfdbfcf7..7d577462b0 100644 --- a/lib/common_test/src/ct_framework.erl +++ b/lib/common_test/src/ct_framework.erl @@ -249,8 +249,8 @@ init_tc2(Mod,Suite,Func,SuiteInfo,MergeResult,Config) -> end end. -ct_suite_init(Suite, Func, PostInitHook, Config) when is_list(Config) -> - case ct_hooks:init_tc(Suite, Func, Config) of +ct_suite_init(Suite, FuncSpec, PostInitHook, Config) when is_list(Config) -> + case ct_hooks:init_tc(Suite, FuncSpec, Config) of NewConfig when is_list(NewConfig) -> PostInitHookResult = do_post_init_hook(PostInitHook, NewConfig), {ok, [PostInitHookResult ++ NewConfig]}; |