Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
test/src/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")
SECTION
(
"roundtripping"
)
{
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
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