From 85eb79c11bbee6ce9a0a2a26de07e63639ecda35 Mon Sep 17 00:00:00 2001 From: jofas Date: Fri, 24 Feb 2023 14:05:51 +0100 Subject: [PATCH] make sure can uninstall when the right root directory is provided --- tests/testsuite/install.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testsuite/install.rs b/tests/testsuite/install.rs index 971b7212e98a..ddd11b743337 100644 --- a/tests/testsuite/install.rs +++ b/tests/testsuite/install.rs @@ -1861,6 +1861,8 @@ fn uninstall_should_ignore_local_config() { "[..]error: package ID specification `foo` did not match any packages[..]", ) .run(); + + cargo_process("uninstall foo --root foo").run(); } #[cargo_test]