summaryrefslogtreecommitdiff
path: root/inttest
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2015-04-02 16:10:31 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2015-04-02 16:10:31 +0200
commit6127f528b994c69e70ef3d7654ef3d5d7a850a09 (patch)
tree1a40f329acda71da0545eab69622ddbc9462bc0c /inttest
parent65b0f917b80db0be9b5c75d3b041369f459a24b8 (diff)
downloadrebar-6127f528b994c69e70ef3d7654ef3d5d7a850a09.tar.gz
Fix whitespace errors
Diffstat (limited to 'inttest')
-rw-r--r--inttest/cover/cover_rt.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/inttest/cover/cover_rt.erl b/inttest/cover/cover_rt.erl
index 34d65c5..a9f3f08 100644
--- a/inttest/cover/cover_rt.erl
+++ b/inttest/cover/cover_rt.erl
@@ -47,25 +47,25 @@ ifdef_test() ->
{ok, Output} = retest:sh("./rebar -v eunit"),
io:format("output => ~p~n", [Output]),
?assert(check_output(Output, "foo")),
- {ok,Listing} = file:list_dir(".eunit"),
+ {ok, Listing} = file:list_dir(".eunit"),
?assert(check_output(Listing, "foo.beam")),
?assertMatch({ok,_}, retest:sh("./rebar clean")).
cover_export_json_test() ->
- {ok,Output} =
- retest:sh("./rebar -v -C rebar-cover_export_json.config eunit"),
+ {ok, Output} =
+ retest:sh("./rebar -v -C rebar-cover_export_json.config eunit"),
?assert(check_output(Output, "foo")),
?assertEqual(
{ok, <<"{\"module\":\"foo\",\"covered\":2,\"not_covered\":1}">>},
file:read_file(".eunit/foo.COVER.json")),
?assertMatch(
- {ok,_},
+ {ok, _},
retest:sh("./rebar -C rebar-cover_export_json.config clean")).
check_output(Output,Target) ->
lists:any(fun(Line) ->
- string:str(Line, Target) > 0
- end, Output).
+ string:str(Line, Target) > 0
+ end, Output).
app(Name) ->
App = {application, Name,
[{description, atom_to_list(Name)},