From 1c04fc3bed14bf20e82165bf2d55f95745e2367a Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 23 Apr 2020 10:39:30 +0200 Subject: [PATCH] Tests: Fix test due to change in uninstall behaviour Removing multiple refs where one is missing is now a warning, not a failure, so change the test to just try to remove one ref. --- tests/test-repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-repo.sh b/tests/test-repo.sh index bf5ef2e4..a367a1b1 100644 --- a/tests/test-repo.sh +++ b/tests/test-repo.sh @@ -460,7 +460,7 @@ assert_file_has_content list-log "org\.test\.Platform" ok "flatpak list --arch --columns works" -if ${FLATPAK} ${INVERT_U} uninstall -y org.test.Platform org.test.Hello; then +if ${FLATPAK} ${INVERT_U} uninstall -y org.test.Hello; then assert_not_reached "Should not be able to uninstall ${INVERT_U} when installed ${U}" fi