Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
f513c467
Unverified
Commit
f513c467
authored
Jul 22, 2017
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🔨
further cleanup
parent
024fec8a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
1 deletion
+2
-1
json.hpp
src/json.hpp
+0
-0
CMakeLists.txt
test/CMakeLists.txt
+1
-0
unit-unicode.cpp
test/src/unit-unicode.cpp
+1
-1
No files found.
src/json.hpp
View file @
f513c467
This diff is collapsed.
Click to expand it.
test/CMakeLists.txt
View file @
f513c467
...
...
@@ -11,6 +11,7 @@ target_include_directories(catch_main PRIVATE "thirdparty/catch")
set
(
JSON_UNITTEST_TARGET_NAME
"json_unit"
)
add_executable
(
${
JSON_UNITTEST_TARGET_NAME
}
$<TARGET_OBJECTS:catch_main>
"../src/json.hpp"
"src/unit-algorithms.cpp"
"src/unit-allocator.cpp"
"src/unit-capacity.cpp"
...
...
test/src/unit-unicode.cpp
View file @
f513c467
...
...
@@ -45,7 +45,7 @@ void check_utf8string(bool success_expected, int byte1, int byte2 = -1, int byte
{
if
(
++
calls
%
100000
==
0
)
{
std
::
cout
<<
calls
<<
" UTF-8 strings checked"
<<
std
::
endl
;
std
::
cout
<<
calls
<<
"
of 8860608
UTF-8 strings checked"
<<
std
::
endl
;
}
std
::
string
json_string
=
"
\"
"
;
...
...
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