eunit: fix dialyzer warnings introduced in 03da5e0b

This commit is contained in:
Tuncer Ayaz 2014-02-20 19:10:47 +01:00
parent ec448c0894
commit 589afc0173
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,3 @@
rebar_eunit.erl:387: Call to missing or unexported function eunit_test:function_wrapper/2
rebar_eunit.erl:434: Call to missing or unexported function eunit_test:function_wrapper/2
rebar_utils.erl:163: Call to missing or unexported function escript:foldl/3

View file

@ -259,7 +259,7 @@ randomize_suites(Config, Modules) ->
end.
randomize_suites1(Modules, Seed) ->
random:seed(35, Seed, 1337),
_ = random:seed(35, Seed, 1337),
?CONSOLE("Randomizing suite order with seed ~b~n", [Seed]),
[X||{_,X} <- lists:sort([{random:uniform(), M} || M <- Modules])].