Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Jun 19, 2020
1 parent d8f256f commit 17a506f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cpp/src/arrow/compute/kernels/scalar_string_test.cc
Expand Up @@ -142,8 +142,9 @@ TEST(TestStringKernels, UnicodeLibraryAssumptions) {
"encoded in maximum 3 bytes, not "
<< encoded_nbytes_upper;
}
if(codepoint > 0xffff) {
EXPECT_EQ(codepoint, codepoint_upper) << "Expected codepoint not to change (LUT protection)";
if (codepoint > 0xffff) {
EXPECT_EQ(codepoint, codepoint_upper)
<< "Expected codepoint not to change (LUT protection)";
}
utf8proc_int32_t codepoint_lower = utf8proc_tolower(codepoint);
utf8proc_ssize_t encoded_nbytes_lower = utf8proc_encode_char(codepoint_lower, output);
Expand All @@ -159,8 +160,9 @@ TEST(TestStringKernels, UnicodeLibraryAssumptions) {
"encoded in maximum 3 bytes, not "
<< encoded_nbytes_lower;
}
if(codepoint > 0xffff) {
EXPECT_EQ(codepoint, codepoint_lower) << "Expected codepoint not to change (LUT protection)";
if (codepoint > 0xffff) {
EXPECT_EQ(codepoint, codepoint_lower)
<< "Expected codepoint not to change (LUT protection)";
}
}
}
Expand Down

0 comments on commit 17a506f

Please sign in to comment.