summaryrefslogtreecommitdiff
path: root/test/rebar_compiler_tests.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/rebar_compiler_tests.erl')
-rw-r--r--test/rebar_compiler_tests.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rebar_compiler_tests.erl b/test/rebar_compiler_tests.erl
index 3ed600b..104a7d8 100644
--- a/test/rebar_compiler_tests.erl
+++ b/test/rebar_compiler_tests.erl
@@ -84,11 +84,11 @@ not_keep_going_test_() ->
setup,
fun() ->
setup_basic_project(),
- setup_rebar_config(),
- rebar("compile")
+ setup_rebar_config()
end,
fun teardown/1,
- fun(RebarOut)->
+ fun()->
+ RebarOut = rebar("compile"),
[
{"Exit after error",
?_assert(string:str(RebarOut, "ERROR: compile failed") =/= 0)}