diff options
author | Mariano Shaar <mariano.shaar@mongodb.com> | 2022-06-21 19:53:18 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-06-21 20:51:08 +0000 |
commit | d9dae5b61f238da82fd2caf5952e87d491ec05f1 (patch) | |
tree | c7686d1db0a0877fed84d739d3152e5015d97b98 /src | |
parent | 82e8ac207e2271d2664ffcd3bfec88f9e13e121f (diff) | |
download | mongo-d9dae5b61f238da82fd2caf5952e87d491ec05f1.tar.gz |
SERVER-65711 Fixed typo in database_test.cpp
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/catalog/database_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/database_test.cpp b/src/mongo/db/catalog/database_test.cpp index e9da3e319ee..8346d0f1a29 100644 --- a/src/mongo/db/catalog/database_test.cpp +++ b/src/mongo/db/catalog/database_test.cpp @@ -355,7 +355,7 @@ TEST_F(DatabaseTest, MakeUniqueCollectionNamespaceReplacesPercentSignsWithRandom auto nss1 = unittest::assertGet(db->makeUniqueCollectionNamespace(_opCtx.get(), model)); if (!re.FullMatch(nss1.ns())) { FAIL((StringBuilder() << "First generated namespace \"" << nss1.ns() - << "\" does not match reqular expression \"" << re.pattern() + << "\" does not match regular expression \"" << re.pattern() << "\"") .str()); } @@ -372,7 +372,7 @@ TEST_F(DatabaseTest, MakeUniqueCollectionNamespaceReplacesPercentSignsWithRandom auto nss2 = unittest::assertGet(db->makeUniqueCollectionNamespace(_opCtx.get(), model)); if (!re.FullMatch(nss2.ns())) { FAIL((StringBuilder() << "Second generated namespace \"" << nss2.ns() - << "\" does not match reqular expression \"" << re.pattern() + << "\" does not match regular expression \"" << re.pattern() << "\"") .str()); } |