Fix whitespace errors in rebar_ct and rebar_eunit

This commit is contained in:
Tuncer Ayaz 2012-08-22 19:14:35 +02:00
parent 3c0d97bf2c
commit f528c397f8
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ run_test_if_present(TestDir, LogDir, Config, File) ->
case filelib:wildcard(TestDir ++ "/*_SUITE.{beam,erl}") of
[] ->
?WARN("~s directory present, but no common_test"
++ " SUITES - skipping\n", [TestDir]),
++ " SUITES - skipping\n", [TestDir]),
ok;
_ ->
run_test(TestDir, LogDir, Config, File)

View file

@ -245,7 +245,7 @@ get_matching_tests1([Module|TModules], Functions, TestFunctions) ->
TestModuleExports = get_beam_test_exports(TestModuleStr),
%% Build tests {M, F} list
Tests = get_matching_tests2(Functions, {Module, ModuleExports},
{list_to_atom(TestModuleStr), TestModuleExports}),
{list_to_atom(TestModuleStr), TestModuleExports}),
get_matching_tests1(TModules, Functions,
lists:merge([TestFunctions, Tests])).