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
bd0f3001
Commit
bd0f3001
authored
Jan 23, 2016
by
Trevor Welsby
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in new unit.hpp comments
parent
7e324578
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
test/unit.cpp
test/unit.cpp
+5
-5
No files found.
test/unit.cpp
View file @
bd0f3001
...
...
@@ -11537,19 +11537,19 @@ TEST_CASE("regression tests")
const json j_const = j;
//
Non-c
onst access with key as "char []"
//
C
onst access with key as "char []"
CHECK(j_const[array_key] == json(1));
//
Non-c
onst access with key as "const char[]"
//
C
onst access with key as "const char[]"
CHECK(j_const[const_array_key] == json(2));
//
Non-c
onst access with key as "char *"
//
C
onst access with key as "char *"
CHECK(j_const[ptr_key] == json(3));
//
Non-c
onst access with key as "const char *"
//
C
onst access with key as "const char *"
CHECK(j_const[const_ptr_key] == json(4));
//
Non-c
onst access with key as "static constexpr const char *"
//
C
onst access with key as "static constexpr const char *"
CHECK(j_const[constexpr_ptr_key] == json(5));
}
}
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