diff options
author | Siri Hansen <[email protected]> | 2014-10-20 17:00:09 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2014-11-06 14:48:00 +0100 |
commit | c750756e5aeea78cc6f5570e3160113d96ba14db (patch) | |
tree | 17fdb6b12927170acf4e4e38b5ef599b5af00e51 /lib/dialyzer/test/behaviour_SUITE_data/src | |
parent | de1d77d0b4e8ab9e507addf7878457202357ca32 (diff) | |
download | otp-c750756e5aeea78cc6f5570e3160113d96ba14db.tar.gz otp-c750756e5aeea78cc6f5570e3160113d96ba14db.tar.bz2 otp-c750756e5aeea78cc6f5570e3160113d96ba14db.zip |
Update dialyzer test with maps in supervisor properties
After introducing maps for supervisor flags and child specs two tests
in behaviour_SUITE started failing:
behaviour_SUITE:custom_sup - failed because the type of the Period
(MaxT) property had been changed (corrected) from non_neg_integer() to
pos_integer() in the specification of the init callback in
supervisor.erl
behaviour_SUITE:supervisor_incorrect_return - same as above, plus the
introduction of #{} as possible value for the supervisor flags and
child_specs.
Diffstat (limited to 'lib/dialyzer/test/behaviour_SUITE_data/src')
-rw-r--r-- | lib/dialyzer/test/behaviour_SUITE_data/src/custom_sup.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dialyzer/test/behaviour_SUITE_data/src/custom_sup.erl b/lib/dialyzer/test/behaviour_SUITE_data/src/custom_sup.erl index 76da1fda70..401ee88eab 100644 --- a/lib/dialyzer/test/behaviour_SUITE_data/src/custom_sup.erl +++ b/lib/dialyzer/test/behaviour_SUITE_data/src/custom_sup.erl @@ -13,7 +13,7 @@ -export([init/1]). -spec init(atom()) -> - {ok, {{supervisor:strategy(), non_neg_integer(), non_neg_integer()}, + {ok, {{supervisor:strategy(), non_neg_integer(), pos_integer()}, [supervisor:child_spec()]}} | ignore. init(StorageName) -> |