diff options
Diffstat (limited to 'tests/lookup/test_pinyin_lookup.cpp')
-rw-r--r-- | tests/lookup/test_pinyin_lookup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lookup/test_pinyin_lookup.cpp b/tests/lookup/test_pinyin_lookup.cpp index c1552b4..9cc9f86 100644 --- a/tests/lookup/test_pinyin_lookup.cpp +++ b/tests/lookup/test_pinyin_lookup.cpp @@ -115,7 +115,7 @@ int main( int argc, char * argv[]){ for (size_t i = 0; i < results.size(); ++i) { MatchResult result = NULL; - assert(results.get_result(i, result)); + check_result(results.get_result(i, result)); for (size_t j = 0; j < result->len; ++j){ phrase_token_t * token = &g_array_index(result, phrase_token_t, j); |