diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 00:22:50 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 10:56:02 -0400 |
commit | 9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (patch) | |
tree | 3814f79c10d7b490948d8cb7b112ac1dd41ceff1 /src/mongo/db/fts/stemmer_test.cpp | |
parent | 01965cf52bce6976637ecb8f4a622aeb05ab256a (diff) | |
download | mongo-9c2ed42daa8fbbef4a919c21ec564e2db55e8d60.tar.gz |
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/db/fts/stemmer_test.cpp')
-rw-r--r-- | src/mongo/db/fts/stemmer_test.cpp | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/src/mongo/db/fts/stemmer_test.cpp b/src/mongo/db/fts/stemmer_test.cpp index bef556bf2ad..d40d25e8348 100644 --- a/src/mongo/db/fts/stemmer_test.cpp +++ b/src/mongo/db/fts/stemmer_test.cpp @@ -35,19 +35,18 @@ #include "mongo/db/fts/stemmer.h" namespace mongo { - namespace fts { +namespace fts { - TEST( English, Stemmer1 ) { - Stemmer s( &languageEnglishV2 ); - ASSERT_EQUALS( "run", s.stem( "running" ) ); - ASSERT_EQUALS( "Run", s.stem( "Running" ) ); - } - - TEST( English, Caps ) { - Stemmer s( &languagePorterV1 ); - ASSERT_EQUALS( "unit", s.stem( "united" ) ); - ASSERT_EQUALS( "Unite", s.stem( "United" ) ); - } +TEST(English, Stemmer1) { + Stemmer s(&languageEnglishV2); + ASSERT_EQUALS("run", s.stem("running")); + ASSERT_EQUALS("Run", s.stem("Running")); +} - } +TEST(English, Caps) { + Stemmer s(&languagePorterV1); + ASSERT_EQUALS("unit", s.stem("united")); + ASSERT_EQUALS("Unite", s.stem("United")); +} +} } |