From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 8509C1F4D7 for ; Tue, 14 Jun 2022 15:32:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241161AbiFNPcE (ORCPT ); Tue, 14 Jun 2022 11:32:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236030AbiFNPcD (ORCPT ); Tue, 14 Jun 2022 11:32:03 -0400 X-Greylist: delayed 314 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 14 Jun 2022 08:31:59 PDT Received: from mailproxy08.manitu.net (mailproxy08.manitu.net [217.11.48.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6EAB35A9F for ; Tue, 14 Jun 2022 08:31:59 -0700 (PDT) Received: from localhost (unknown [IPv6:2001:9e8:6a4a:4a00:84a5:f961:bada:889e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: michael@grubix.eu) by mailproxy08.manitu.net (Postfix) with ESMTPSA id 7031A1B200DF; Tue, 14 Jun 2022 17:26:43 +0200 (CEST) From: Michael J Gruber To: git@vger.kernel.org Cc: Johannes Schindelin Subject: [PATCH] t3701: two subtests are fixed Date: Tue, 14 Jun 2022 17:26:33 +0200 Message-Id: X-Mailer: git-send-email 2.37.0.rc0.107.g7a7be657e7 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org 0527ccb1b5 ("add -i: default to the built-in implementation", 2021-11-30) switched to the implementation which fixed to subtest. Mark them as expect_success now. Signed-off-by: Michael J Gruber --- I did check the ML but may have missed a series which contains this. (I only found one which tries to make the test output clearer in CI.) t/t3701-add-interactive.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t3701-add-interactive.sh b/t/t3701-add-interactive.sh index 94537a6b40..9a06638704 100755 --- a/t/t3701-add-interactive.sh +++ b/t/t3701-add-interactive.sh @@ -538,7 +538,7 @@ test_expect_success 'split hunk "add -p (edit)"' ' ! grep "^+15" actual ' -test_expect_failure 'split hunk "add -p (no, yes, edit)"' ' +test_expect_success 'split hunk "add -p (no, yes, edit)"' ' test_write_lines 5 10 20 21 30 31 40 50 60 >test && git reset && # test sequence is s(plit), n(o), y(es), e(dit) @@ -562,7 +562,7 @@ test_expect_success 'split hunk with incomplete line at end' ' test_must_fail git grep --cached before ' -test_expect_failure 'edit, adding lines to the first hunk' ' +test_expect_success 'edit, adding lines to the first hunk' ' test_write_lines 10 11 20 30 40 50 51 60 >test && git reset && tr _ " " >patch <<-EOF && -- 2.37.0.rc0.107.g7a7be657e7