Commit 40796621 authored by Kenton Varda's avatar Kenton Varda

Fix json-test on MSVC.

parent 9b5bb2e2
......@@ -283,7 +283,7 @@ KJ_TEST("decode all types") {
CASE(R"({"enumField":"bar"})", root.getEnumField() == TestEnum::BAR);
CASE_NO_ROUNDTRIP(R"({"textField":"foo\u1234bar"})",
kj::str("foo\u1234bar") == root.getTextField());
kj::str(u8"foo\u1234bar") == root.getTextField());
CASE_THROW_RECOVERABLE(R"({"structField":null})", "Expected object value");
CASE_THROW_RECOVERABLE(R"({"structList":null})", "Expected list value");
......
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