Unverified Commit 69073f03 authored by Kenton Varda's avatar Kenton Varda Committed by GitHub

Merge pull request #734 from capnproto/fix-msvc

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