Merge branch 'rs/unit-tests-test-run'

Unit-test framework has learned a simple control structure to allow
embedding test statements in-line instead of having to create a new
function to contain them.

* rs/unit-tests-test-run:
  t-strvec: use if_test
  t-reftable-basics: use if_test
  t-ctype: use if_test
  unit-tests: add if_test
  unit-tests: show location of checks outside of tests
  t0080: use here-doc test body
This commit is contained in:
Junio C Hamano
2024-08-19 11:07:36 -07:00
8 changed files with 446 additions and 380 deletions

View File

@@ -196,6 +196,11 @@ ForEachMacros:
- 'strmap_for_each_entry'
- 'strset_for_each_entry'
# A list of macros that should be interpreted as conditionals instead of as
# function calls.
IfMacros:
- 'if_test'
# The maximum number of consecutive empty lines to keep.
MaxEmptyLinesToKeep: 1