From: Johannes Sixt Date: Thu, 19 Nov 2015 19:09:44 GMT Subject: [PATCH 2/7] modernize t9300: use test_must_fail Message-ID: <46b654a91df9ae0c85e406e6a17ca918b63351ee.1447959452.git.j6t@kdbg.org> In-Reply-To: One test case open-codes a test for an expected failure. Replace it by test_must_fail. Signed-off-by: Johannes Sixt --- t/t9300-fast-import.sh | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh index 566f7bd..e9c7602 100755 --- a/t/t9300-fast-import.sh +++ b/t/t9300-fast-import.sh @@ -630,20 +630,9 @@ from refs/heads/branch INPUT_END test_expect_success 'F: non-fast-forward update skips' ' - if git fast-import