summaryrefslogtreecommitdiff
path: root/src/mongo/platform/mutex_test.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2019-09-14 02:33:06 +0000
committerevergreen <evergreen@mongodb.com>2019-09-14 02:33:06 +0000
commit5d5d0e83ecec06baf3407f233d3c71eedc592669 (patch)
tree381451267d9767039288c398e8f6ab5fc037c2b1 /src/mongo/platform/mutex_test.cpp
parent141e63cbc5f76e568d7baaa780f48d134273b3ee (diff)
downloadmongo-5d5d0e83ecec06baf3407f233d3c71eedc592669.tar.gz
SERVER-42893 fix test
Diffstat (limited to 'src/mongo/platform/mutex_test.cpp')
-rw-r--r--src/mongo/platform/mutex_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/platform/mutex_test.cpp b/src/mongo/platform/mutex_test.cpp
index 731a3f4e2a3..739734c0e46 100644
--- a/src/mongo/platform/mutex_test.cpp
+++ b/src/mongo/platform/mutex_test.cpp
@@ -59,7 +59,7 @@ TEST(MutexTest, Macros) {
} holder;
static_assert(std::is_same_v<decltype(MutexHolder::m2), Mutex>);
ASSERT_NE(holder.m2.getName().find("MutexHolder"_sd), std::string::npos);
- ASSERT_NE(holder.m2.getName().find("m2"_sd), std::string::npos);
+ ASSERT_EQ(holder.m2.getName().find("m2"_sd), std::string::npos) << holder.m2.getName();
// Verify the global named latch
static_assert(std::is_same_v<decltype(gMutex), Mutex>);