summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/accumulator_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/accumulator_test.cpp')
-rw-r--r--src/mongo/db/pipeline/accumulator_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/accumulator_test.cpp b/src/mongo/db/pipeline/accumulator_test.cpp
index e3e6bd04d87..9bef088316d 100644
--- a/src/mongo/db/pipeline/accumulator_test.cpp
+++ b/src/mongo/db/pipeline/accumulator_test.cpp
@@ -84,7 +84,7 @@ class None : public Base {
public:
void run() {
createAccumulator();
- ASSERT_EQUALS(0, accumulator()->getValue(false).getDouble());
+ ASSERT_EQUALS(Value(BSONNULL), accumulator()->getValue(false));
}
};