1
0
mirror of https://github.com/nlohmann/json.git synced 2026-07-27 14:13:04 +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
+2 -2
View File
@@ -94,7 +94,7 @@ TEST_CASE("other constructors and destructor")
SECTION("binary")
{
json j = json::binary_array({1, 2, 3});
json j = json::binary({1, 2, 3});
json k(j);
CHECK(j == k);
}
@@ -177,7 +177,7 @@ TEST_CASE("other constructors and destructor")
SECTION("binary")
{
json j = json::binary_array({1, 2, 3});
json j = json::binary({1, 2, 3});
json k;
k = j;
CHECK(j == k);