Merge pull request #1045 from matthiasbeyer/libimagutil/bugfix-testing
Bugfix: Fix macro to use the appname instead of hardcoded values
This commit is contained in:
commit
147c264ee3
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> {
|
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);
|
cli_args.append(&mut args);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue