diff options
Diffstat (limited to 'src/mongo/db/fts/stop_words_test.cpp')
-rw-r--r-- | src/mongo/db/fts/stop_words_test.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/mongo/db/fts/stop_words_test.cpp b/src/mongo/db/fts/stop_words_test.cpp index 248c4d93407..5834503dd4a 100644 --- a/src/mongo/db/fts/stop_words_test.cpp +++ b/src/mongo/db/fts/stop_words_test.cpp @@ -33,13 +33,12 @@ #include "mongo/unittest/unittest.h" namespace mongo { - namespace fts { +namespace fts { - TEST( English, Basic1 ) { - const StopWords* englishStopWords = StopWords::getStopWords( &languageEnglishV2 ); - ASSERT( englishStopWords->isStopWord( "the" ) ); - ASSERT( !englishStopWords->isStopWord( "computer" ) ); - } - - } +TEST(English, Basic1) { + const StopWords* englishStopWords = StopWords::getStopWords(&languageEnglishV2); + ASSERT(englishStopWords->isStopWord("the")); + ASSERT(!englishStopWords->isStopWord("computer")); +} +} } |