t1300: avoid relying on a bug
commit85bf5d61e717f79f7ac68d15e336e54293035405
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 3 Apr 2018 16:28:18 +0000 (3 18:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Apr 2018 23:30:03 +0000 (6 08:30 +0900)
tree5a51d1c346d8d23a09f3ff8d4958a048f4a47010
parent46fc89ce74b46e88764c796b3ab20d5ab90a5e96
t1300: avoid relying on a bug

The test case 'unset with cont. lines' relied on a bug that is about to
be fixed: it tests *explicitly* that removing the last entry from a
config section leaves an *empty* section behind.

Let's fix this test case not to rely on that behavior, simply by
preventing the section from becoming empty.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1300-config.sh