summaryrefslogtreecommitdiffstats
path: root/tests/storage/test_phrase_index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/storage/test_phrase_index.cpp')
-rw-r--r--tests/storage/test_phrase_index.cpp4
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);