Merge pull request #230 from tuncer/fix-dialyzer-warnings

eunit: fix dialyzer warnings introduced in 03da5e0b
This commit is contained in:
Jared Morrow 2014-02-25 08:14:47 -07:00
commit dcc75b144c
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])].