Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gtests/blenlib/BLI_string_utf8_test.cc')
-rw-r--r--tests/gtests/blenlib/BLI_string_utf8_test.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/gtests/blenlib/BLI_string_utf8_test.cc b/tests/gtests/blenlib/BLI_string_utf8_test.cc
index 89483d3d440..0dbe36158c5 100644
--- a/tests/gtests/blenlib/BLI_string_utf8_test.cc
+++ b/tests/gtests/blenlib/BLI_string_utf8_test.cc
@@ -35,6 +35,9 @@ int mk_wcswidth(const wchar_t *pwcs, size_t n)
/* -------------------------------------------------------------------- */
/* tests */
+/* Breaking strings is confusing here, prefer over-long lines. */
+/* clang-format off */
+
/* Each test is made of a 79 bytes (80 with NULL char) string to test, expected string result after
* stripping invalid utf8 bytes, and a single-byte string encoded with expected number of errors.
*
@@ -283,6 +286,7 @@ const char *utf8_invalid_tests[][3] = {
// 5.3.4 U+nFFFE U+nFFFF (for n = 1..10)
{NULL, NULL, NULL},
};
+/* clang-format on */
/* BLI_utf8_invalid_strip (and indirectly, BLI_utf8_invalid_byte). */
TEST(string, Utf8InvalidBytes)