Bugfix: Fix macro to use the appname instead of hardcoded values

This commit is contained in:
Matthias Beyer 2017-09-02 10:28:34 +02:00
parent 1760c41975
commit b32245b03a
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ macro_rules! make_mock_app {
}
pub fn generate_test_runtime<'a>(mut args: Vec<&'static str>) -> Result<Runtime<'a>, RuntimeError> {
let mut cli_args = vec!["imag-link", "--rtp", "/tmp"];
let mut cli_args = vec![$appname, "--rtp", "/tmp"];
cli_args.append(&mut args);