mirror of
https://github.com/nlohmann/json.git
synced 2026-02-22 19:36:26 +00:00
✅ add regression test
This commit is contained in:
@@ -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