]> git.notmuchmail.org Git - notmuch/commit
test: require test_begin_subtest before test_expect_code
authorJani Nikula <jani@nikula.org>
Sun, 26 Feb 2017 13:43:01 +0000 (15:43 +0200)
committerDavid Bremner <david@tethera.net>
Thu, 9 Mar 2017 13:03:40 +0000 (09:03 -0400)
commit0497d695ca796c4d19ad5ec08788bbb1f400c58c
treea398c1a25282da030dc86bf5ac2b64b583b788e3
parentd0cd253b37646d9364d046e1d3edb022a58c105a
test: require test_begin_subtest before test_expect_code

Unify the subtests by requiring test_begin_subtest before
test_expect_code. (Similar change for test_expect_success has already
been done.)

This increases clarity in the test scripts by having a separate line
for the start of the subtest with the heading, and makes it possible
to simplify the test infrastructure by making all subtests similar.
test/README
test/T000-basic.sh
test/T020-compact.sh
test/T050-new.sh
test/T070-insert.sh
test/T150-tagging.sh
test/T160-json.sh
test/T400-hooks.sh
test/T570-revision-tracking.sh
test/T600-named-queries.sh
test/test-lib.sh