mirror of
https://github.com/nlohmann/json.git
synced 2026-10-11 00:47:12 +00:00
⚗️ add C++20 build
This commit is contained in:
2 files changed
+1
-21
No files matched your search
@@ -495,7 +495,7 @@ TEST_CASE("regression tests 2")
|
||||
const char DATA[] = R"("Hello, world!")";
|
||||
const auto s = std::as_bytes(std::span(DATA));
|
||||
json j = json::parse(s);
|
||||
CHECK(j.dump == "Hello, world!");
|
||||
CHECK(j.dump() == "Hello, world!");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
Reference in new issue
Block a user