add regression test

parent e4fc5984
......@@ -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
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment