diff options
author | Lukas Larsson <[email protected]> | 2011-07-29 11:51:15 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-08-31 10:51:24 +0200 |
commit | 187cf0a2a5cb5cc5f94e2b9bb07b03955ad6eb4d (patch) | |
tree | b0ae8a9f24910ea49928d35ebf474c596d200ac6 /lib/common_test/test/ct_hooks_SUITE_data/cth/tests/state_update_cth.erl | |
parent | 6b9f8b54324891f2d7fed236cb2860896215d755 (diff) | |
download | otp-187cf0a2a5cb5cc5f94e2b9bb07b03955ad6eb4d.tar.gz otp-187cf0a2a5cb5cc5f94e2b9bb07b03955ad6eb4d.tar.bz2 otp-187cf0a2a5cb5cc5f94e2b9bb07b03955ad6eb4d.zip |
Update the return from init/2 to be {ok, NewState} or {ok,NewState,Priority} instead of NewState.
NewState can still be returned, but is only kept for backward compatability reasons.
Diffstat (limited to 'lib/common_test/test/ct_hooks_SUITE_data/cth/tests/state_update_cth.erl')
-rw-r--r-- | lib/common_test/test/ct_hooks_SUITE_data/cth/tests/state_update_cth.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/state_update_cth.erl b/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/state_update_cth.erl index 35c990c0be..9da48d3a4c 100644 --- a/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/state_update_cth.erl +++ b/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/state_update_cth.erl @@ -29,7 +29,7 @@ init(Id, Opts) ->
State = empty_cth:init(Id, Opts),
- [init|State].
+ {ok, [init|State]}.
pre_init_per_suite(Suite, Config, State) ->
empty_cth:pre_init_per_suite(Suite,Config,State),
|