Skip to content

Commit

Permalink
Fix typos in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanpenman committed Sep 26, 2019
1 parent caf5543 commit 0abf633
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/test_jsoncpp_adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ TEST_F(TestJsonCppAdapter, BasicArrayIteration)
{
const unsigned int numElements = 10;

// Create a rapidjson document that consists of an array of numbers
// Create a jsoncpp document that consists of an array of numbers
Json::Value document(Json::arrayValue);
for (unsigned int i = 0; i < numElements; i++) {
document.append(Json::Value(i));
Expand Down Expand Up @@ -46,7 +46,7 @@ TEST_F(TestJsonCppAdapter, BasicObjectIteration)
{
const unsigned int numElements = 10;

// Create a rapidjson document that consists of an object that maps numeric
// Create a jsoncpp document that consists of an object that maps numeric
// strings their corresponding numeric values
Json::Value document(Json::objectValue);
for (unsigned int i = 0; i < numElements; i++) {
Expand Down
4 changes: 2 additions & 2 deletions tests/test_property_tree_adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ TEST_F(TestPropertyTreeAdapter, BasicArrayIteration)
{
const unsigned int numElements = 10;

// Create a boost property that is equivalent to a JSON array containing a
// Create a boost property tree that is equivalent to a JSON array containing a
// list of numbers.
boost::property_tree::ptree document;
for (unsigned int i = 0; i < numElements; i++) {
Expand Down Expand Up @@ -50,7 +50,7 @@ TEST_F(TestPropertyTreeAdapter, BasicObjectIteration)
{
const unsigned int numElements = 10;

// Create a rapidjson document that consists of an object that maps numeric
// Create a boost property tree that consists of an object that maps numeric
// strings their corresponding numeric values
boost::property_tree::ptree document;
for (unsigned int i = 0; i < numElements; i++) {
Expand Down

0 comments on commit 0abf633

Please sign in to comment.