Skip to content

Commit

Permalink
test: clang-format 15 would break around this line. Let's preemptivle…
Browse files Browse the repository at this point in the history
…y disable it
  • Loading branch information
muxator committed Sep 29, 2023
1 parent de27350 commit c2658ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/test/test_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,13 @@ BOOST_DATA_TEST_CASE(
BOOST_DATA_TEST_CASE(
test_string2byteVector_round_trip,
bdata::make({
// clang-format off
//
// clang-format <= 15 is not able to deal with this emoticon as-is.
// Let's disable it.
// This exception could be removed once we migrate to clang-format >= 16.
string("🥸hello"), // emoticon
// clang-format on
string("\x00\x00\x00", 3), // manyNulls
string("\x00\xfe\xff", 3), // nonNullTerminated
}),
Expand Down

0 comments on commit c2658ff

Please sign in to comment.