t3404: directly test the behavior of interest
commita9ae8fde2eb0c00723d850ba23ea8401864fab83
authorElijah Newren <newren@gmail.com>
Thu, 16 Jan 2020 06:14:16 +0000 (16 06:14 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Jan 2020 21:58:30 +0000 (17 13:58 -0800)
tree60368fbeed21ea902113adb7b922978af52c3604
parent22a69fda197f78410190469bf0fcb51f6f69730f
t3404: directly test the behavior of interest

t3404.3 is a simple test added by commit d078c3910689 ("t3404: todo list
with commented-out commands only aborts", 2018-08-10) which was designed
to test a todo list that only contained commented-out commands.  There
were two problems with this test: (1) its title did not reflect the
purpose of the test, and (2) it tested the desired behavior through a
side-effect of other functionality instead of directly testing the
desired behavior discussed in the commit message.

Modify the test to directly test the desired behavior and update the
test title.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3404-rebase-interactive.sh