Pick-up test misses
There were some coverage misses in tests, so check in unit test coverage or remove branches not currently needed.
This commit is contained in:
parent
427b97873c
commit
f40ecdd529
6 changed files with 37 additions and 27 deletions
|
@ -866,12 +866,7 @@ get_opt(Key, Opts) ->
|
|||
get_opt(Key, Opts, Default) ->
|
||||
case proplists:get_value(Key, Opts) of
|
||||
undefined ->
|
||||
case application:get_env(?MODULE, Key) of
|
||||
{ok, Value} ->
|
||||
Value;
|
||||
undefined ->
|
||||
Default
|
||||
end;
|
||||
Default;
|
||||
Value ->
|
||||
Value
|
||||
end.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue