Skip to content

Commit

Permalink
Bug 1246852 - Make clang-format happy r=me
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Taubert committed Oct 4, 2016
1 parent 75bab13 commit 068beef
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions external_tests/util_gtest/util_utf8_unittest.cc
Expand Up @@ -947,11 +947,16 @@ const char *const kUtf8BadCases[] = {

const Utf16BadCase kUtf16BadCases[] = {
// Leading surrogate not followed by trailing surrogate:
{{0xD800, 0, 0}}, {{0xD800, 0x41, 0}}, {{0xD800, 0xfe, 0}},
{{0xD800, 0x3bb, 0}}, {{0xD800, 0xD800, 0}}, {{0xD800, 0xFEFF, 0}},
{{0xD800, 0, 0}},
{{0xD800, 0x41, 0}},
{{0xD800, 0xfe, 0}},
{{0xD800, 0x3bb, 0}},
{{0xD800, 0xD800, 0}},
{{0xD800, 0xFEFF, 0}},
{{0xD800, 0xFFFD, 0}},
// Trailing surrogate, not preceded by a leading one.
{{0xDC00, 0, 0}}, {{0xDE6D, 0xD834, 0}},
{{0xDC00, 0, 0}},
{{0xDE6D, 0xD834, 0}},
};

// Parameterized test instantiations:
Expand Down

0 comments on commit 068beef

Please sign in to comment.