summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/biggie/store_test.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2019-01-09 05:57:24 -0500
committerBenety Goh <benety@mongodb.com>2019-01-09 05:57:24 -0500
commit863100174584d5bf77977d1d6ac77a3cf659f514 (patch)
treeb94b0f0a1280f4da03ee14e68e2e696088f084e3 /src/mongo/db/storage/biggie/store_test.cpp
parent560a0c3a3e20924b362fc2b159c30255d62e81d2 (diff)
downloadmongo-863100174584d5bf77977d1d6ac77a3cf659f514.tar.gz
SERVER-38291 fix Windows compile
Diffstat (limited to 'src/mongo/db/storage/biggie/store_test.cpp')
-rw-r--r--src/mongo/db/storage/biggie/store_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/biggie/store_test.cpp b/src/mongo/db/storage/biggie/store_test.cpp
index 177c51ac873..0528fccfcc1 100644
--- a/src/mongo/db/storage/biggie/store_test.cpp
+++ b/src/mongo/db/storage/biggie/store_test.cpp
@@ -1796,7 +1796,7 @@ TEST_F(RadixStoreTest, BasicInsertFindDeleteNullCharacter) {
ASSERT_TRUE(iter != thisStore.end());
ASSERT_EQ(iter->first, value1.first);
- ASSERT_EQ(thisStore.erase(std::string("ab\0", 3)), StringStore::size_type(1));
+ ASSERT_TRUE(thisStore.erase(std::string("ab\0", 3)));
ASSERT_EQ(thisStore.size(), StringStore::size_type(1));
iter = thisStore.find(std::string("ab\0", 3));