Skip to content

Commit

Permalink
Format string_length_size_4.cpp
Browse files Browse the repository at this point in the history
Signed-off-by: Aubrey (Sanae) <aubrey@hall.ly>
  • Loading branch information
Sanae6 committed Apr 21, 2024
1 parent 697b80a commit c47d19d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extras/tests/MixedConfiguration/string_length_size_4.cpp
Expand Up @@ -57,6 +57,7 @@ TEST_CASE("ARDUINOJSON_STRING_LENGTH_SIZE == 4") {
auto binary = doc.as<MsgPackBinary>();
REQUIRE(binary.size() == 65536);
REQUIRE(binary.data() != nullptr);
REQUIRE(std::string(reinterpret_cast<const char*>(binary.data()), binary.size()) == str);
REQUIRE(std::string(reinterpret_cast<const char*>(binary.data()),
binary.size()) == str);
}
}

0 comments on commit c47d19d

Please sign in to comment.