diff options
author | Nathan Franke <me@nathan.sh> | 2022-01-27 10:34:33 -0600 |
---|---|---|
committer | Nathan Franke <me@nathan.sh> | 2022-01-29 04:41:03 -0600 |
commit | 8a0a3acceee804b91afe31022cf0310c01162f73 (patch) | |
tree | 7bd0ff57dadd6d26c5d03bd49658c6c4568788c1 /tests/core/string | |
parent | 01f5d7c616920373ff7d140673bc6f8301213713 (diff) |
simplify formatting scripts, add a clang-tidy script, and run clang-tidy
Diffstat (limited to 'tests/core/string')
-rw-r--r-- | tests/core/string/test_string.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/core/string/test_string.h b/tests/core/string/test_string.h index e03a71bcb8..0446f749cf 100644 --- a/tests/core/string/test_string.h +++ b/tests/core/string/test_string.h @@ -38,8 +38,9 @@ namespace TestString { int u32scmp(const char32_t *l, const char32_t *r) { - for (; *l == *r && *l && *r; l++, r++) + for (; *l == *r && *l && *r; l++, r++) { ; + } return *l - *r; } |