diff options
author | Zandra Norman <[email protected]> | 2017-01-23 11:49:32 +0100 |
---|---|---|
committer | Zandra Norman <[email protected]> | 2017-04-21 14:52:48 +0200 |
commit | 8ca53b0f993ffbf2991e3068b76ec15b8f5eca51 (patch) | |
tree | 3799fa1b4a6820aff34e66f6b99f72329d4d0771 /lib/stdlib/test/erl_lint_SUITE.erl | |
parent | b468fb90b447bbd99d351449d90f2775e84ed4f2 (diff) | |
download | otp-8ca53b0f993ffbf2991e3068b76ec15b8f5eca51.tar.gz otp-8ca53b0f993ffbf2991e3068b76ec15b8f5eca51.tar.bz2 otp-8ca53b0f993ffbf2991e3068b76ec15b8f5eca51.zip |
stdlib: Make gen_server callbacks optional
Diffstat (limited to 'lib/stdlib/test/erl_lint_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/erl_lint_SUITE.erl | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/stdlib/test/erl_lint_SUITE.erl b/lib/stdlib/test/erl_lint_SUITE.erl index c7dcd9ae16..ef4d363d29 100644 --- a/lib/stdlib/test/erl_lint_SUITE.erl +++ b/lib/stdlib/test/erl_lint_SUITE.erl @@ -3057,10 +3057,7 @@ behaviour_multiple(Config) when is_list(Config) -> handle_info(_, _) -> ok. ">>, [], - {warnings,[{1,erl_lint, - {undefined_behaviour_func,{code_change,3},gen_server}}, - {1,erl_lint,{undefined_behaviour_func,{init,1},gen_server}}, - {1,erl_lint,{undefined_behaviour_func,{terminate,2},gen_server}}, + {warnings,[{1,erl_lint,{undefined_behaviour_func,{init,1},gen_server}}, {2,erl_lint,{undefined_behaviour_func,{init,1},supervisor}}, {2, erl_lint, @@ -3074,10 +3071,7 @@ behaviour_multiple(Config) when is_list(Config) -> handle_info(_, _) -> ok. ">>, [], - {warnings,[{1,erl_lint, - {undefined_behaviour_func,{code_change,3},gen_server}}, - {1,erl_lint,{undefined_behaviour_func,{init,1},gen_server}}, - {1,erl_lint,{undefined_behaviour_func,{terminate,2},gen_server}}, + {warnings,[{1,erl_lint,{undefined_behaviour_func,{init,1},gen_server}}, {2,erl_lint,{undefined_behaviour_func,{init,1},supervisor}}, {2, erl_lint, |