diff options
author | Alan Maguire <alan.maguire@oracle.com> | 2020-03-26 14:25:09 +0000 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-03-26 14:08:41 -0600 |
commit | c3bba690a2643245f59a4d5d66e6b687459696d9 (patch) | |
tree | 51fadd44c35c43a7a9f36ef10741432b0a13471d /lib/idr.c | |
parent | eda8e324f70815e90360bef1032d49ef7c61e877 (diff) |
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/idr.c')
0 files changed, 0 insertions, 0 deletions