diff options
author | initard <solo@softwareag.com> | 2022-02-01 17:54:05 +0100 |
---|---|---|
committer | initard <solo@softwareag.com> | 2022-02-01 17:54:05 +0100 |
commit | 51abfd14f5cdd5496f4bd753d4d37758503d7678 (patch) | |
tree | ae1d125b92e37221b7e7aeeae38601d9aac2a6fd /plugins/tedge_apt_plugin | |
parent | 4617cd56d13af15e2160c0f523b5dddeef9923c3 (diff) |
fixing assert to work for different apt versions
Signed-off-by: initard <solo@softwareag.com>
Diffstat (limited to 'plugins/tedge_apt_plugin')
-rw-r--r-- | plugins/tedge_apt_plugin/tests/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/tedge_apt_plugin/tests/main.rs b/plugins/tedge_apt_plugin/tests/main.rs index c1fcb5b5..e5a79e02 100644 --- a/plugins/tedge_apt_plugin/tests/main.rs +++ b/plugins/tedge_apt_plugin/tests/main.rs @@ -122,21 +122,21 @@ fn install_from_local_file_fail( // description about the test #[test_case( &format!("install {} --file {}", PACKAGE_NAME, PACKAGE_FILE_PATH), - &format!("The following NEW packages will be installed\n {}", PACKAGE_NAME), + PACKAGE_NAME, 0 ; "path" )] #[serial] #[test_case( &format!("install {} --file {} --module-version {}", PACKAGE_NAME, PACKAGE_FILE_PATH, PACKAGE_VERSION), - &format!("The following NEW packages will be installed\n {}", PACKAGE_NAME), + PACKAGE_NAME, 0 ; "path with version" )] #[serial] #[test_case( &format!("install {} --module-version {} --file {}", PACKAGE_NAME, PACKAGE_VERSION, PACKAGE_FILE_PATH), - &format!("The following NEW packages will be installed\n {}", PACKAGE_NAME), + PACKAGE_NAME, 0 ; "version with path" )] |