From 8de7a609ffbfa9e7d1539de3ad420413326b85c0 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Wed, 17 Sep 2014 22:00:28 -0500 Subject: [PATCH] fix ct test for new command handling --- src/rebar3.erl | 2 +- test/rebar_compile_SUITE.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rebar3.erl b/src/rebar3.erl index f29eaecd..dcd78f78 100644 --- a/src/rebar3.erl +++ b/src/rebar3.erl @@ -141,7 +141,7 @@ run_aux(State, Args) -> {ok, Providers} = application:get_env(rebar, providers), State3 = rebar_state:create_logic_providers(Providers, State2), Task = rebar_state:get(State3, task, "help"), - rebar_core:process_command(rebar_state:command_args(State3, Args), ec_cnv:to_atom(Task)), + rebar_core:process_command(rebar_state:command_args(State3, Args), list_to_atom(Task)), ok. %% diff --git a/test/rebar_compile_SUITE.erl b/test/rebar_compile_SUITE.erl index 8efdc991..f9f79afb 100644 --- a/test/rebar_compile_SUITE.erl +++ b/test/rebar_compile_SUITE.erl @@ -43,7 +43,7 @@ build_basic_app(Config) -> ConfigFile = filename:join([AppDir, "rebar.config"]), write_config(ConfigFile, []), - rebar3:run(rebar_state:new(State, [], AppDir), ["compile"]), + rebar3:run(rebar_state:new(State, [], AppDir), "compile"), %% Verify app was built [App] = rebar_app_discover:find_apps([AppDir]),