diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/storage/test_phrase_index_logger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_phrase_index_logger.cpp b/tests/storage/test_phrase_index_logger.cpp index 74cd5af..c423c40 100644 --- a/tests/storage/test_phrase_index_logger.cpp +++ b/tests/storage/test_phrase_index_logger.cpp @@ -31,7 +31,7 @@ int main(int argc, char * argv[]){ phrase_index.load(1, chunk); PhraseIndexRange range; - phrase_index.get_range(1, range); + assert(ERROR_OK == phrase_index.get_range(1, range)); for (size_t i = range.m_range_begin; i < range.m_range_end; ++i ) { phrase_index.add_unigram_frequency(i, 1); } |