add regression test

pull/2550/head
Niels Lohmann 2020-12-29 20:52:57 +01:00
parent e4fc598466
commit 4402176df5
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
1 changed files with 1 additions and 1 deletions

View File

@ -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
}