From 85f7aa9d7bef5f3a82be38e1decf345049aa7bb6 Mon Sep 17 00:00:00 2001 From: Ryooooooga Date: Wed, 22 Mar 2023 23:02:32 +0900 Subject: [PATCH] Fix conflict test The test apply_in_reverse_with_conflict.go fails in git versions 2.30.8 and earlier. Apparently the output "Applied patch to 'file2' cleanly" was only added more recently. It's not essential that we check this output. --- .../tests/patch_building/apply_in_reverse_with_conflict.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/integration/tests/patch_building/apply_in_reverse_with_conflict.go b/pkg/integration/tests/patch_building/apply_in_reverse_with_conflict.go index f767ba3a0..74dd34b3e 100644 --- a/pkg/integration/tests/patch_building/apply_in_reverse_with_conflict.go +++ b/pkg/integration/tests/patch_building/apply_in_reverse_with_conflict.go @@ -55,8 +55,7 @@ var ApplyInReverseWithConflict = NewIntegrationTest(NewIntegrationTestArgs{ t.ExpectPopup().Alert(). Title(Equals("Error")). - Content(Contains("Applied patch to 'file1' with conflicts."). - Contains("Applied patch to 'file2' cleanly.")). + Content(Contains("Applied patch to 'file1' with conflicts.")). Confirm() t.Views().Files().