Browse Source

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

eunit: fix dialyzer warnings introduced in 03da5e0b
pull/3/head
Jared Morrow 11 years ago
parent
commit
dcc75b144c
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      dialyzer_reference
  2. +1
    -1
      src/rebar_eunit.erl

+ 1
- 1
dialyzer_reference 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

+ 1
- 1
src/rebar_eunit.erl 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])].

Loading…
Cancel
Save