diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2017-08-18 19:10:49 +0000 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2017-08-18 19:38:02 +0000 |
commit | b55483c88960747d3951190c908ba9f7e8ee1134 (patch) | |
tree | b9836ab5d691222261b209a9e8678bf0b0067613 /test/rebar_compiler_tests.erl | |
parent | 2a52f60bea5468de6372753621e0461b5d1c428b (diff) | |
download | rebar-b55483c88960747d3951190c908ba9f7e8ee1134.tar.gz |
Fix Erlang 20 export_all warnings
Fix other warnings and whitespace errors as well.
Diffstat (limited to 'test/rebar_compiler_tests.erl')
-rw-r--r-- | test/rebar_compiler_tests.erl | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/rebar_compiler_tests.erl b/test/rebar_compiler_tests.erl index 104a7d8..2afbc92 100644 --- a/test/rebar_compiler_tests.erl +++ b/test/rebar_compiler_tests.erl @@ -30,8 +30,6 @@ %% ------------------------------------------------------------------- -module(rebar_compiler_tests). --compile(export_all). - -include_lib("eunit/include/eunit.hrl"). %% Assuming this test is run inside the rebar 'eunit' @@ -167,19 +165,11 @@ prepare_rebar_script() -> ?TMP_DIR ++ "rebar.cmd") end. -rebar() -> - rebar([]). - rebar(Args) when is_list(Args) -> Out = os:cmd(filename:nativename("./rebar") ++ " " ++ Args), %% ?debugMsg("**** Begin"), ?debugMsg(Out), ?debugMsg("**** End"), Out. -assert_dirs_in(Name, [Dir|T]) -> - [{Name ++ " has directory: " ++ Dir, ?_assert(filelib:is_dir(Dir))} | - assert_dirs_in(Name, T)]; -assert_dirs_in(_, []) -> []. - assert_files_in(Name, [File|T]) -> [{Name ++ " has file: " ++ File, ?_assert(filelib:is_regular(File))} | assert_files_in(Name, T)]; |