mirror of
https://github.com/nlohmann/json.git
synced 2026-02-09 23:52:15 +00:00
🚚 rename binary_array() to binary()
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user