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
b59a5840
Unverified
Commit
b59a5840
authored
Sep 29, 2018
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://github.com/nlohmann/json
into develop
parents
4e54c9a1
95432c34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
unit-testsuites.cpp
test/src/unit-testsuites.cpp
+3
-5
No files found.
test/src/unit-testsuites.cpp
View file @
b59a5840
...
@@ -1346,13 +1346,11 @@ TEST_CASE("Big List of Naughty Strings")
...
@@ -1346,13 +1346,11 @@ TEST_CASE("Big List of Naughty Strings")
SECTION
(
"roundtripping"
)
SECTION
(
"roundtripping"
)
{
{
std
::
ifstream
f
(
"test/data/big-list-of-naughty-strings/blns.json"
);
std
::
ifstream
f
(
"test/data/big-list-of-naughty-strings/blns.json"
);
std
::
string
line
;
while
(
not
f
.
eof
())
// read lines one by one, bail out on error or eof
while
(
getline
(
f
,
line
))
{
{
// read line
std
::
string
line
;
getline
(
f
,
line
);
// trim whitespace
// trim whitespace
line
=
trim
(
line
);
line
=
trim
(
line
);
...
...
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