diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-29 13:46:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-29 13:46:38 +0100 |
commit | 2f57a11ed9b383706b72783c0d9b1e869774e08a (patch) | |
tree | 1b2b19bbc51b9b6ee71b3d7599092bdaa7b6dbee /tests/core/string/test_string.h | |
parent | 9467350f37089eb3f4ef7de683daba28b0c69dec (diff) | |
parent | 8a0a3acceee804b91afe31022cf0310c01162f73 (diff) |
Merge pull request #55785 from nathanfranke/clang-tidy
Diffstat (limited to 'tests/core/string/test_string.h')
-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; } |