diff options
author | Lukas Larsson <[email protected]> | 2011-02-09 13:59:50 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-02-17 16:59:39 +0100 |
commit | e34cd721545915266a00b1ec55a9a5867c8459a4 (patch) | |
tree | 8de64f1bc8b139c60d5a0e66f49427bbd78de717 /lib/common_test/test/ct_suite_callback_SUITE_data/scb/tests/state_update_scb.erl | |
parent | 15e8dd20b5ba2c82e683e87254f18c9af3625481 (diff) | |
download | otp-e34cd721545915266a00b1ec55a9a5867c8459a4.tar.gz otp-e34cd721545915266a00b1ec55a9a5867c8459a4.tar.bz2 otp-e34cd721545915266a00b1ec55a9a5867c8459a4.zip |
Update SCBs to use a specific id/1 function for SCb overriding instead of returning it from init/1.
Diffstat (limited to 'lib/common_test/test/ct_suite_callback_SUITE_data/scb/tests/state_update_scb.erl')
-rw-r--r-- | lib/common_test/test/ct_suite_callback_SUITE_data/scb/tests/state_update_scb.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/common_test/test/ct_suite_callback_SUITE_data/scb/tests/state_update_scb.erl b/lib/common_test/test/ct_suite_callback_SUITE_data/scb/tests/state_update_scb.erl index 1da0f7a6e4..13c50cf1a1 100644 --- a/lib/common_test/test/ct_suite_callback_SUITE_data/scb/tests/state_update_scb.erl +++ b/lib/common_test/test/ct_suite_callback_SUITE_data/scb/tests/state_update_scb.erl @@ -27,9 +27,9 @@ %% Suite Callbacks
-compile(export_all).
-init(Opts) ->
- {Id,State} = empty_scb:init(Opts),
- {Id,[init|State]}.
+init(Id, Opts) ->
+ State = empty_scb:init(Id, Opts),
+ [init|State].
pre_init_per_suite(Suite, Config, State) ->
empty_scb:pre_init_per_suite(Suite,Config,State),
|