From c34f87b345d762882c265a638d306f10b21d4cf8 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 21 May 2012 15:34:06 +0800 Subject: rename compat to compact --- tests/storage/test_phrase_index.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/storage/test_phrase_index.cpp') 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); -- cgit