diff options
author | Lukas Larsson <[email protected]> | 2010-11-18 14:16:53 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2010-12-08 18:07:48 +0100 |
commit | 9809d4a71dc48fd52ec8b4d3d2002b2facf323e7 (patch) | |
tree | 66807189c63458f8eeba1422305e1cb4fc19b872 /lib | |
parent | 18b2dba61c4849fd924ace459d169d263e7e6619 (diff) | |
download | otp-9809d4a71dc48fd52ec8b4d3d2002b2facf323e7.tar.gz otp-9809d4a71dc48fd52ec8b4d3d2002b2facf323e7.tar.bz2 otp-9809d4a71dc48fd52ec8b4d3d2002b2facf323e7.zip |
Change default state to [] instead of undefined
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common_test/src/ct_suite_callback.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_suite_callback.erl b/lib/common_test/src/ct_suite_callback.erl index 44e54f3968..c92de8ea51 100644 --- a/lib/common_test/src/ct_suite_callback.erl +++ b/lib/common_test/src/ct_suite_callback.erl @@ -103,7 +103,7 @@ end_tc(_Mod, TC, _Config, Result) -> %% Internal Functions %% ------------------------------------------------------------------------- call_init(Mod, Config, Meta) when is_atom(Mod) -> - call_init({Mod, undefined}, Config, Meta); + call_init({Mod, []}, Config, Meta); call_init({Mod, State}, Config, _) -> {Id, NewState} = Mod:init(State), {Config, {Id, {Mod, NewState}}}. |