diff options
author | Peng Wu <alexepico@gmail.com> | 2020-09-27 14:34:24 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2020-09-27 14:43:11 +0800 |
commit | 50b8799f78a4bd92c44fb4931eac2afb2a1d1aba (patch) | |
tree | 610c6693cb94e88ed5e58eff2296ce02a58399d7 | |
parent | 932ff0514256570e75d049d2e5d0881b4421bb05 (diff) | |
download | libpinyin-50b8799f78a4bd92c44fb4931eac2afb2a1d1aba.tar.gz libpinyin-50b8799f78a4bd92c44fb4931eac2afb2a1d1aba.tar.xz libpinyin-50b8799f78a4bd92c44fb4931eac2afb2a1d1aba.zip |
Fixes test_ngram.cpp
-rw-r--r-- | tests/storage/test_ngram.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/storage/test_ngram.cpp b/tests/storage/test_ngram.cpp index 0313f1c..c33df32 100644 --- a/tests/storage/test_ngram.cpp +++ b/tests/storage/test_ngram.cpp @@ -75,8 +75,8 @@ int main(int argc, char * argv[]){ printf("item:%d\n", *token); } - assert(bigram.load_db("/tmp/test.db")); - assert(bigram.save_db("/tmp/test.db")); + assert(bigram.save_db("/tmp/snapshot.db")); + assert(bigram.load_db("/tmp/snapshot.db")); g_array_free(items, TRUE); |