diff mbox series

t7004: don't create unused file

Message ID 98eca6e4-f3d5-8bb2-efde-0160b3d5e507@web.de (mailing list archive)
State New, archived
Headers show
Series t7004: don't create unused file | expand

Commit Message

René Scharfe Dec. 11, 2019, 6:46 p.m. UTC
msgfile2 became unused with 3968658599 (Make builtin-tag.c use
parse_options., 2007-11-09), get rid of it.

Signed-off-by: René Scharfe <l.s.r@web.de>
---
 t/t7004-tag.sh | 1 -
 1 file changed, 1 deletion(-)

--
2.24.1

Comments

Derrick Stolee Dec. 11, 2019, 6:59 p.m. UTC | #1
On 12/11/2019 1:46 PM, René Scharfe wrote:
> diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh
> index 4a09bea1d6..6db92bd3ba 100755
> --- a/t/t7004-tag.sh
> +++ b/t/t7004-tag.sh
> @@ -517,7 +517,6 @@ test_expect_success \
>  test_expect_success \
>  	'trying to create tags giving both -m or -F options should fail' '
>  	echo "message file 1" >msgfile1 &&
> -	echo "message file 2" >msgfile2 &&

Obviously correct.

-Stolee
diff mbox series

Patch

diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh
index 4a09bea1d6..6db92bd3ba 100755
--- a/t/t7004-tag.sh
+++ b/t/t7004-tag.sh
@@ -517,7 +517,6 @@  test_expect_success \
 test_expect_success \
 	'trying to create tags giving both -m or -F options should fail' '
 	echo "message file 1" >msgfile1 &&
-	echo "message file 2" >msgfile2 &&
 	! tag_exists msgtag &&
 	test_must_fail git tag -m "message 1" -F msgfile1 msgtag &&
 	! tag_exists msgtag &&