1
0
mirror of https://github.com/nlohmann/json.git synced 2026-07-28 22:53:03 +04:00

🚚 rename binary_array() to binary()

This commit is contained in:
Niels Lohmann
2020-05-19 13:30:22 +02:00
parent 86b053e916
commit 21b1680ea1
16 changed files with 85 additions and 61 deletions
+1 -1
View File
@@ -765,7 +765,7 @@ TEST_CASE("different basic_json types conversions")
SECTION("binary")
{
json j = json::binary_array({1, 2, 3});
json j = json::binary({1, 2, 3});
custom_json cj = j;
CHECK(cj.get_binary() == j.get_binary());
}