summaryrefslogtreecommitdiffstats
path: root/tests/storage
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-08-12 11:16:51 +0800
committerPeng Wu <alexepico@gmail.com>2011-08-12 11:16:51 +0800
commitb7bb9c1df8a50ac296edce955b9c4f13ad9edc4a (patch)
treea17b717a2276ca56938417b8725078b4df8a6a8a /tests/storage
parent6a1aa9ea5db1822350c78a66e65d4bd344e2d012 (diff)
downloadlibpinyin-b7bb9c1df8a50ac296edce955b9c4f13ad9edc4a.tar.gz
libpinyin-b7bb9c1df8a50ac296edce955b9c4f13ad9edc4a.tar.xz
libpinyin-b7bb9c1df8a50ac296edce955b9c4f13ad9edc4a.zip
update test phrase index test case
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_phrase_index.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_phrase_index.cpp b/tests/storage/test_phrase_index.cpp
index d2d7be9..f4b4a7e 100644
--- a/tests/storage/test_phrase_index.cpp
+++ b/tests/storage/test_phrase_index.cpp
@@ -138,7 +138,7 @@ int main(int argc, char * argv[]){
phrase_index_load.get_phrase_item(16777222, item2);
assert(item2.get_phrase_length() == 1);
- assert(item2.get_n_pronunciation() == 5);
+ assert(item2.get_n_pronunciation() == 6);
return 0;
}