diff options
author | Peng Wu <alexepico@gmail.com> | 2012-05-21 15:34:06 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-05-21 15:34:06 +0800 |
commit | c34f87b345d762882c265a638d306f10b21d4cf8 (patch) | |
tree | 1d67471d4158109c59b11397b40ebd455d324149 /tests | |
parent | 4f7701c4d33c8b2df7c1cc29b1abf81ab7110e5c (diff) | |
download | libpinyin-c34f87b345d762882c265a638d306f10b21d4cf8.tar.gz libpinyin-c34f87b345d762882c265a638d306f10b21d4cf8.tar.xz libpinyin-c34f87b345d762882c265a638d306f10b21d4cf8.zip |
rename compat to compact
Diffstat (limited to 'tests')
-rw-r--r-- | tests/storage/test_phrase_index.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/storage/test_phrase_index.cpp b/tests/storage/test_phrase_index.cpp index 4f1fe58..f9cb8d2 100644 --- a/tests/storage/test_phrase_index.cpp +++ b/tests/storage/test_phrase_index.cpp @@ -89,7 +89,7 @@ int main(int argc, char * argv[]){ g_free(filename); } - phrase_index.compat(); + phrase_index.compact(); MemoryChunk* store1 = new MemoryChunk; phrase_index_load.store(1, store1); @@ -99,7 +99,7 @@ int main(int argc, char * argv[]){ phrase_index_load.store(2, store2); phrase_index_load.load(2, store2); - phrase_index.compat(); + phrase_index.compact(); phrase_index_load.get_phrase_item(16870553, item2); assert( item2.get_phrase_length() == 14); |