summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-04-04 21:34:46 -0500
committerTristan Sloughter <t@crashfast.com>2015-04-04 21:34:46 -0500
commit4e64e3685707e82a5906fee0d482087c80b0ee3b (patch)
treeefe69df0aafc6dc5bbf8fe62973000eebf2c5a0e
parent40d37811044581a4bbd991d162d2bb5a995a905c (diff)
fixes from bad rebase against master
-rw-r--r--src/rebar_prv_common_test.erl4
-rw-r--r--src/rebar_prv_eunit.erl2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl
index b481da4..aa71dbd 100644
--- a/src/rebar_prv_common_test.erl
+++ b/src/rebar_prv_common_test.erl
@@ -53,8 +53,8 @@ do(State) ->
?DEBUG("common test opts: ~p", [Opts1]),
{ok, State1} = run_test(State, Opts1),
%% Run ct provider posthooks
- rebar_hooks:run_all_hooks(Cwd, post, ?PROVIDER, Providers, State),
- {ok, State1};
+ rebar_hooks:run_all_hooks(Cwd, post, ?PROVIDER, Providers, State1),
+ {ok, State1}
end
catch
error:Reason ->
diff --git a/src/rebar_prv_eunit.erl b/src/rebar_prv_eunit.erl
index 1388a7b..473a913 100644
--- a/src/rebar_prv_eunit.erl
+++ b/src/rebar_prv_eunit.erl
@@ -46,7 +46,7 @@ do(State) ->
{ok, Tests} ->
{ok, State1} = do_tests(State, Tests),
%% Run ct provider posthooks
- rebar_hooks:run_all_hooks(Cwd, post, ?PROVIDER, Providers, State),
+ rebar_hooks:run_all_hooks(Cwd, post, ?PROVIDER, Providers, State1),
{ok, State1};
Error ->
Error