summaryrefslogtreecommitdiffstats
path: root/tests/storage/test_chewing_table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/storage/test_chewing_table.cpp')
-rw-r--r--tests/storage/test_chewing_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_chewing_table.cpp b/tests/storage/test_chewing_table.cpp
index d79a446..d988222 100644
--- a/tests/storage/test_chewing_table.cpp
+++ b/tests/storage/test_chewing_table.cpp
@@ -96,7 +96,7 @@ int main(int argc, char * argv[]) {
largetable.search(keys->len, (ChewingKey *)keys->data, ranges);
- for (size_t i = 0; i < PHRASE_INDEX_LIBRARY_COUNT; ++i) {
+ for (size_t i = min_index; i < max_index; ++i) {
GArray * & range = ranges[i];
if (range) {
for (size_t k = 0; k < range->len; ++k) {