Re: [PATCH] tests: make use of the test_must_be_empty function

2018-07-30 Thread SZEDER Gábor
On Fri, Jul 27, 2018 at 7:48 PM Ævar Arnfjörð Bjarmason wrote: > > Change various tests that use an idiom of the form: > > >expect && > test_cmp expect actual > > To instead use: > > test_must_be_empty actual Thanks for working on this. > The test_must_be_empty() wrapper was introduc

Re: [PATCH] tests: make use of the test_must_be_empty function

2018-07-27 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: Ævar Arnfjörð Bjarmason writes: > Change various tests that use an idiom of the form: > > >expect && > test_cmp expect actual > > To instead use: > > test_must_be_empty actual I trust that you eyeballed the result to make sure steps after these con

[PATCH] tests: make use of the test_must_be_empty function

2018-07-27 Thread Ævar Arnfjörð Bjarmason
Change various tests that use an idiom of the form: >expect && test_cmp expect actual To instead use: test_must_be_empty actual The test_must_be_empty() wrapper was introduced in ca8d148daf ("test: test_must_be_empty helper", 2013-06-09). Many of these tests have been added after th