diff options
author | ADAM David Alan Martin <adam.martin@10gen.com> | 2017-11-28 20:03:30 -0500 |
---|---|---|
committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2017-11-28 20:12:07 -0500 |
commit | 1201b5d3fcd0854bcd25185bc90d110b06dbb718 (patch) | |
tree | 92e018356d5506d5effdbcbc50ab07377afd3dc9 | |
parent | 8bd7560bc14bd4f708096088c97342a78bf565e6 (diff) | |
download | mongo-1201b5d3fcd0854bcd25185bc90d110b06dbb718.tar.gz |
SERVER-32059 Fix test
It is illegal to have unit tests without any tests.
(cherry picked from commit 9ef1374033327fafef3a0212cff44c59cb657759)
-rw-r--r-- | src/mongo/util/net/ssl_manager_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/net/ssl_manager_test.cpp b/src/mongo/util/net/ssl_manager_test.cpp index 45a967d5fc0..162e0644cab 100644 --- a/src/mongo/util/net/ssl_manager_test.cpp +++ b/src/mongo/util/net/ssl_manager_test.cpp @@ -34,11 +34,11 @@ #include "mongo/unittest/unittest.h" #include "mongo/util/log.h" -#ifdef MONGO_CONFIG_SSL namespace mongo { namespace { TEST(SSLManager, matchHostname) { +#ifdef MONGO_CONFIG_SSL enum Expected : bool { match = true, mismatch = false }; const struct { Expected expected; @@ -79,7 +79,7 @@ TEST(SSLManager, matchHostname) { } } ASSERT_FALSE(failure); +#endif } } // namespace } // namespace mongo -#endif |