summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2013-06-16 06:07:55 -0700
committerDave Smith <dizzyd@dizzyd.com>2013-06-16 06:07:55 -0700
commit76405da6d7726d6600270ad42e43ab626eb30ef9 (patch)
tree212ec3afde14b7858335a212782171a2af26c309
parent547552b5c212434e80cef5793357a8976efa7416 (diff)
parente4083cacee879bc72069ca0fcd23950f3ae420ec (diff)
Merge pull request #24 from legoscia/master
Allow specifying eunit suite run order in 'suites'
-rw-r--r--src/rebar_eunit.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl
index cdc0787..55e6a72 100644
--- a/src/rebar_eunit.erl
+++ b/src/rebar_eunit.erl
@@ -223,7 +223,7 @@ filter_suites(Config, Modules) ->
filter_suites1(Modules, []) ->
Modules;
filter_suites1(Modules, Suites) ->
- [M || M <- Modules, lists:member(M, Suites)].
+ [M || M <- Suites, lists:member(M, Modules)].
%%
%% == get matching tests ==