diff options
author | Alan Maguire <alan.maguire@oracle.com> | 2020-03-26 15:25:09 +0100 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-03-26 21:08:41 +0100 |
commit | c3bba690a2643245f59a4d5d66e6b687459696d9 (patch) | |
tree | 51fadd44c35c43a7a9f36ef10741432b0a13471d /lib/test_hash.c | |
parent | kunit: add log test (diff) | |
download | linux-c3bba690a2643245f59a4d5d66e6b687459696d9.tar.xz linux-c3bba690a2643245f59a4d5d66e6b687459696d9.zip |
kunit: subtests should be indented 4 spaces according to TAP
Introduce KUNIT_SUBTEST_INDENT macro which corresponds to 4-space
indentation and KUNIT_SUBSUBTEST_INDENT macro which corresponds to
8-space indentation in line with TAP spec (e.g. see "Subtests"
section of https://node-tap.org/tap-protocol/).
Use these macros in place of one or two tabs in strings to clarify
why we are indenting.
Suggested-by: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib/test_hash.c')
0 files changed, 0 insertions, 0 deletions