summaryrefslogtreecommitdiffstats
path: root/indexlib/tests/tokenizer-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indexlib/tests/tokenizer-test.cpp')
-rw-r--r--indexlib/tests/tokenizer-test.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indexlib/tests/tokenizer-test.cpp b/indexlib/tests/tokenizer-test.cpp
index b5b10f399..372859d90 100644
--- a/indexlib/tests/tokenizer-test.cpp
+++ b/indexlib/tests/tokenizer-test.cpp
@@ -19,9 +19,9 @@ void simple() {
expected.push_back( "AAACE" );
std::sort( tokens.begin(), tokens.end() );
std::sort( expected.begin(), expected.end() );
- BOOST_CHECK_ETQUAL( expected.size(), tokens.size() );
+ BOOST_CHECK_EQUAL( expected.size(), tokens.size() );
for ( int i = 0; i < expected.size() && i < tokens.size(); ++i ) {
- BOOST_CHECK_ETQUAL( expected[ i ], tokens[ i ] );
+ BOOST_CHECK_EQUAL( expected[ i ], tokens[ i ] );
}
}
@@ -35,9 +35,9 @@ void with_newlines() {
expected.push_back( "THREE" );
std::sort( tokens.begin(), tokens.end() );
std::sort( expected.begin(), expected.end() );
- BOOST_CHECK_ETQUAL( expected.size(), tokens.size() );
+ BOOST_CHECK_EQUAL( expected.size(), tokens.size() );
for ( int i = 0; i < expected.size() && i < tokens.size(); ++i ) {
- BOOST_CHECK_ETQUAL( expected.at( i ), tokens.at( i ) );
+ BOOST_CHECK_EQUAL( expected.at( i ), tokens.at( i ) );
}
}
@@ -52,9 +52,9 @@ void with_numbers() {
expected.push_back( "FOUR" );
std::sort( tokens.begin(), tokens.end() );
std::sort( expected.begin(), expected.end() );
- BOOST_CHECK_ETQUAL( expected.size(), tokens.size() );
+ BOOST_CHECK_EQUAL( expected.size(), tokens.size() );
for ( int i = 0; i < expected.size() && i < tokens.size(); ++i ) {
- BOOST_CHECK_ETQUAL( expected.at( i ), tokens.at( i ) );
+ BOOST_CHECK_EQUAL( expected.at( i ), tokens.at( i ) );
}
}