aboutsummaryrefslogtreecommitdiffstats
path: root/test/rclt_command_SUITE.erl
diff options
context:
space:
mode:
authorEric <[email protected]>2012-12-30 17:34:25 -0500
committerEric <[email protected]>2012-12-30 17:34:25 -0500
commit306d584398696d08e3ca26d6864fa71cdcfe4012 (patch)
tree54c33eb9b6dc7cb249ef85d402bd54df5a4f6ed3 /test/rclt_command_SUITE.erl
parent8cbfdd28679872a1791fee615585aec6c03dd5f9 (diff)
downloadrelx-306d584398696d08e3ca26d6864fa71cdcfe4012.tar.gz
relx-306d584398696d08e3ca26d6864fa71cdcfe4012.tar.bz2
relx-306d584398696d08e3ca26d6864fa71cdcfe4012.zip
only allow relcool to take a single config
Diffstat (limited to 'test/rclt_command_SUITE.erl')
-rw-r--r--test/rclt_command_SUITE.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rclt_command_SUITE.erl b/test/rclt_command_SUITE.erl
index 1c6accf..bd99da0 100644
--- a/test/rclt_command_SUITE.erl
+++ b/test/rclt_command_SUITE.erl
@@ -58,8 +58,7 @@ normal_passing_case(Config) ->
RelVsn = "33.222",
CmdLine = ["-V", LogLevel, "-g",Goal1,"-g",Goal2, "-l", Lib1, "-l", Lib2,
"-n", RelName, "-v", RelVsn, "-o", Outdir],
- {ok, {State, Target}} = rcl_cmd_args:args2state(getopt:parse(relcool:opt_spec_list(), CmdLine)),
- ?assertMatch([], Target),
+ {ok, State} = rcl_cmd_args:args2state(getopt:parse(relcool:opt_spec_list(), CmdLine)),
?assertMatch([Lib1, Lib2],
rcl_state:lib_dirs(State)),
?assertMatch(Outdir, rcl_state:output_dir(State)),