Bugfix: Fix macro to use the appname instead of hardcoded values
This commit is contained in:
parent
1760c41975
commit
b32245b03a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue