Skip to content

Commit

Permalink
Comment on data_slice test warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed May 9, 2024
1 parent 7a5da9f commit 22c6145
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/data/data_slice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,8 @@ BOOST_AUTO_TEST_CASE(data_slice__construct__initializer__expected)
// So this initializer requires explicit null termination.
const data_slice slice7({ 'f', 'o', 'o', 'b', 'a', 'r', '\0' });
BOOST_WARN(!slice7.empty());

// TODO: This is failing on clang/gcc.
BOOST_WARN_EQUAL(slice7.size(), size);
////BOOST_WARN_EQUAL(slice7.encoded(), encoded);
}
Expand Down

0 comments on commit 22c6145

Please sign in to comment.