summaryrefslogtreecommitdiffstats
path: root/tests/storage/test_ngram.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2019-01-17 15:28:53 +0800
committerPeng Wu <alexepico@gmail.com>2019-01-17 15:28:53 +0800
commitc105c68309d7607a82b29c79b6bbeeb98ef4b3b2 (patch)
treebedfe1630d3a1444e24d1543ba83fdb9577ff440 /tests/storage/test_ngram.cpp
parentb44bdf7950cfbb445c799f2c7f1c9747c0b24515 (diff)
downloadlibpinyin-c105c68309d7607a82b29c79b6bbeeb98ef4b3b2.zip
libpinyin-c105c68309d7607a82b29c79b6bbeeb98ef4b3b2.tar.gz
libpinyin-c105c68309d7607a82b29c79b6bbeeb98ef4b3b2.tar.xz
Revert "update test_ngram.cpp"2.2.2
This reverts commit 5190d206dca53d97127f645f3477730d6955a463.
Diffstat (limited to 'tests/storage/test_ngram.cpp')
-rw-r--r--tests/storage/test_ngram.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/storage/test_ngram.cpp b/tests/storage/test_ngram.cpp
index 4007e03..0313f1c 100644
--- a/tests/storage/test_ngram.cpp
+++ b/tests/storage/test_ngram.cpp
@@ -75,10 +75,8 @@ int main(int argc, char * argv[]){
printf("item:%d\n", *token);
}
-#if 0
assert(bigram.load_db("/tmp/test.db"));
assert(bigram.save_db("/tmp/test.db"));
-#endif
g_array_free(items, TRUE);