summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk_manager_index_bounds_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/chunk_manager_index_bounds_test.cpp')
-rw-r--r--src/mongo/s/chunk_manager_index_bounds_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/s/chunk_manager_index_bounds_test.cpp b/src/mongo/s/chunk_manager_index_bounds_test.cpp
index ecb46584090..c551d06a29a 100644
--- a/src/mongo/s/chunk_manager_index_bounds_test.cpp
+++ b/src/mongo/s/chunk_manager_index_bounds_test.cpp
@@ -74,7 +74,7 @@ protected:
const char* queryStr,
const IndexBounds& expectedBounds) {
auto query(canonicalize(queryStr));
- ASSERT(query.get() != NULL);
+ ASSERT(query.get() != nullptr);
BSONObj key = fromjson(keyStr);
@@ -98,7 +98,7 @@ protected:
// Assume shard key is { a: 1 }
void checkIndexBounds(const char* queryStr, const OrderedIntervalList& expectedOil) {
auto query(canonicalize(queryStr));
- ASSERT(query.get() != NULL);
+ ASSERT(query.get() != nullptr);
BSONObj key = fromjson("{a: 1}");
@@ -284,7 +284,7 @@ TEST_F(CMCollapseTreeTest, BasicAllElemMatch) {
const char* queryStr = "{foo: {$all: [ {$elemMatch: {a:1, b:1}} ]}}";
auto query(canonicalize(queryStr));
- ASSERT(query.get() != NULL);
+ ASSERT(query.get() != nullptr);
BSONObj key = fromjson("{'foo.a': 1}");
@@ -365,7 +365,7 @@ TEST_F(CMCollapseTreeTest, TextWithQuery) {
TEST_F(CMCollapseTreeTest, HashedSinglePoint) {
const char* queryStr = "{ a: 0 }";
auto query(canonicalize(queryStr));
- ASSERT(query.get() != NULL);
+ ASSERT(query.get() != nullptr);
BSONObj key = fromjson("{a: 'hashed'}");