From patchwork Thu Feb 23 14:15:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhang Yi <18994118902@163.com> X-Patchwork-Id: 13150468 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54A44C64ED6 for ; Thu, 23 Feb 2023 14:16:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234617AbjBWOQ3 (ORCPT ); Thu, 23 Feb 2023 09:16:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234685AbjBWOQT (ORCPT ); Thu, 23 Feb 2023 09:16:19 -0500 Received: from m12.mail.163.com (m12.mail.163.com [123.126.96.234]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E430C57D3A for ; Thu, 23 Feb 2023 06:16:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=GUznP 5zL1umj9C1EysQAh/DchVShK+lEXckkdRBbQM4=; b=MmgnsQMMBqogwLsV0nroh QlBBQI4rPIXyecmEoztW/X/ocJSKUavm+jIMNukne8ZgYWC6hA9l/V5xP0u2GoVr vCeHnDsKximfnMghTE+ljPOcHGcEx3UlNyomEcDHlvzpJemss0tW3fKLxsM2gS4+ a+WkG4nVqh7lGtsQHYz3vg= Received: from zy-X550VX.. (unknown [183.255.48.209]) by smtp18 (Coremail) with SMTP id JNxpCgCHzqondfdjXsaGFA--.49594S5; Thu, 23 Feb 2023 22:16:10 +0800 (CST) From: Zhang Yi <18994118902@163.com> To: git@vger.kernel.org Cc: v.garg.work@gmail.com, Zhang Yi <18994118902@163.com> Subject: [GSOC] [PATCH v2 1/3] t9700:fix title style Date: Thu, 23 Feb 2023 22:15:18 +0800 Message-Id: <20230223141520.1967625-2-18994118902@163.com> X-Mailer: git-send-email 2.29.0-rc0 In-Reply-To: <20230223141520.1967625-1-18994118902@163.com> References: <20230223141520.1967625-1-18994118902@163.com> MIME-Version: 1.0 X-CM-TRANSID: JNxpCgCHzqondfdjXsaGFA--.49594S5 X-Coremail-Antispam: 1Uf129KBjvdXoW7Jr47tF4ftF45JryxJFy5Arb_yoW3KFbEga 4kWF1DG347ZFn2qr1xAFsavFnrA347Gw1YkFnYgw1DAa47JrnYvF95GF1rAan8Ca93Cas3 Kws8Xr4rG3WIyjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7sRM73ktUUUUU== X-Originating-IP: [183.255.48.209] X-CM-SenderInfo: zprymmqurrmmmqsbiqqrwthudrp/1tbiGAof-lv2k7QIyAAAs5 Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org One title in t9700-perl-git.sh is in old style where the test_expect_success command and test title are written on separate lines. Combine the test_expect_success command and the title in one line. Signed-off-by: Zhang Yi <18994118902@163.com> --- t/t9700-perl-git.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/t/t9700-perl-git.sh b/t/t9700-perl-git.sh index b105d6d9d5..3f6396ef63 100755 --- a/t/t9700-perl-git.sh +++ b/t/t9700-perl-git.sh @@ -13,9 +13,8 @@ skip_all_if_no_Test_More # set up test repository -test_expect_success \ - 'set up test repository' \ - 'echo "test file 1" > file1 && +test_expect_success 'set up test repository' ' + echo "test file 1" > file1 && echo "test file 2" > file2 && mkdir directory1 && echo "in directory1" >> directory1/file &&