Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
69073f03
Unverified
Commit
69073f03
authored
Aug 26, 2018
by
Kenton Varda
Committed by
GitHub
Aug 26, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #734 from capnproto/fix-msvc
Fix json-test on MSVC.
parents
9b5bb2e2
40796621
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
json-test.c++
c++/src/capnp/compat/json-test.c++
+1
-1
No files found.
c++/src/capnp/compat/json-test.c++
View file @
69073f03
...
@@ -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"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment