diff options
author | Luis Rascão <luis.rascao@gmail.com> | 2017-08-18 22:30:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-18 22:30:40 +0100 |
commit | 0dcac8a88e9f140c343c28e2d42cebcdfb78bd04 (patch) | |
tree | 92c89460416c472ef16a7a164fda79d8fa4a3a68 /test/rebar_eunit_tests.erl | |
parent | 2940f2711972b49f86ff39a98d37f461f2b70a54 (diff) | |
parent | b55483c88960747d3951190c908ba9f7e8ee1134 (diff) | |
download | rebar-0dcac8a88e9f140c343c28e2d42cebcdfb78bd04.tar.gz |
Merge pull request #638 from tuncer/fix-otp-20-export_all
Fix Erlang 20 export_all warnings
Diffstat (limited to 'test/rebar_eunit_tests.erl')
-rw-r--r-- | test/rebar_eunit_tests.erl | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/rebar_eunit_tests.erl b/test/rebar_eunit_tests.erl index d481dae..cf1e696 100644 --- a/test/rebar_eunit_tests.erl +++ b/test/rebar_eunit_tests.erl @@ -30,8 +30,6 @@ %% ------------------------------------------------------------------- -module(rebar_eunit_tests). --compile(export_all). - -include_lib("eunit/include/eunit.hrl"). %% Assuming this test is run inside the rebar 'eunit' @@ -412,7 +410,6 @@ code_path_test_() -> -define(myapp_mymod_tests, ["-module(myapp_mymod_tests).\n", - "-compile([export_all]).\n", "-include_lib(\"eunit/include/eunit.hrl\").\n", "myfunc_test() -> ?assertMatch(ok, myapp_mymod:myfunc()).\n"]). @@ -426,7 +423,6 @@ code_path_test_() -> -define(myapp_mymod2_tests, ["-module(myapp_mymod2_tests).\n", - "-compile([export_all]).\n", "-include_lib(\"eunit/include/eunit.hrl\").\n", "myfunc2_test() -> ?assertMatch(ok, myapp_mymod2:myfunc2()).\n", "common_name_test() -> ?assert(true).\n"]). @@ -459,7 +455,6 @@ code_path_test_() -> -define(myapp_mymod_defined_in_mysuite_tests, ["-module(myapp_mymod_defined_in_mysuite_tests).\n", - "-compile([export_all]).\n", "-include_lib(\"eunit/include/eunit.hrl\").\n", "myfunc_test() -> ?assertMatch(ok, myapp_mymod:myfunc()).\n"]). @@ -537,9 +532,6 @@ 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"), |