diff options
author | Jared Morrow <jared@basho.com> | 2014-02-25 08:14:47 -0700 |
---|---|---|
committer | Jared Morrow <jared@basho.com> | 2014-02-25 08:14:47 -0700 |
commit | dcc75b144c30a2a783e3f99fca9a3f107209099c (patch) | |
tree | dabd84dc5dbac2968366918e352d61d0e3486c29 | |
parent | 3b08e93ef97361a97a35d48d0e45489048a0d72a (diff) | |
parent | 589afc0173e83ab35f470f3b085355378ae0cf25 (diff) |
Merge pull request #230 from tuncer/fix-dialyzer-warnings
eunit: fix dialyzer warnings introduced in 03da5e0b
-rw-r--r-- | dialyzer_reference | 2 | ||||
-rw-r--r-- | src/rebar_eunit.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dialyzer_reference b/dialyzer_reference index 558a7bb..678c38e 100644 --- a/dialyzer_reference +++ b/dialyzer_reference @@ -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 diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl index 3fe1280..d969f96 100644 --- a/src/rebar_eunit.erl +++ b/src/rebar_eunit.erl @@ -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])]. |