summaryrefslogtreecommitdiff
path: root/src/mongo/base
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/base')
-rw-r--r--src/mongo/base/uuid_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/base/uuid_test.cpp b/src/mongo/base/uuid_test.cpp
index 8f383acb44e..a0742d8e8aa 100644
--- a/src/mongo/base/uuid_test.cpp
+++ b/src/mongo/base/uuid_test.cpp
@@ -51,6 +51,8 @@ TEST(UUIDTest, UUIDCollisionTest) {
}
TEST(UUIDTest, isUUIDStringTest) {
+ ASSERT(!UUID::isUUIDString(""));
+
// Several valid strings
ASSERT(UUID::isUUIDString("00000000-0000-4000-8000-000000000000"));
ASSERT(UUID::isUUIDString("01234567-9abc-4def-9012-3456789abcde"));