From ab86904cf45db89c7c189ca1fd9971909bd446dd Mon Sep 17 00:00:00 2001 From: p4u1 Date: Fri, 23 Feb 2024 12:37:26 +0100 Subject: [PATCH] fix tests/integration/recipe_upgrade.bats --- tests/integration/recipe_upgrade.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/recipe_upgrade.bats b/tests/integration/recipe_upgrade.bats index 183d1f22..b1d2020f 100644 --- a/tests/integration/recipe_upgrade.bats +++ b/tests/integration/recipe_upgrade.bats @@ -61,14 +61,14 @@ setup(){ assert_success run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status - assert_output --partial 'behind 3' + assert_output --partial "Your branch is behind 'origin/main' by 3 commits" run $ABRA recipe upgrade "$TEST_RECIPE" --no-input assert_success assert_output --partial 'can upgrade service: app' run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status - refute_output --partial 'behind 3' + refute_output --partial "Your branch is behind 'origin/main' by 3 commits" _reset_recipe }