summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-11-15 11:44:37 +0800
committerPeng Wu <alexepico@gmail.com>2012-11-15 11:44:37 +0800
commitd25206aa335a7b6735e704423877bdc64083548b (patch)
tree2ab1fe24e068167f9d12c70ce925dd7ff1ba5ecd /tests
parentb102f5a4314f05352b997892647d721daad89b09 (diff)
downloadlibpinyin-d25206aa335a7b6735e704423877bdc64083548b.tar.gz
libpinyin-d25206aa335a7b6735e704423877bdc64083548b.tar.xz
libpinyin-d25206aa335a7b6735e704423877bdc64083548b.zip
fixes constraints array
Diffstat (limited to 'tests')
-rw-r--r--tests/lookup/test_pinyin_lookup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lookup/test_pinyin_lookup.cpp b/tests/lookup/test_pinyin_lookup.cpp
index f762bea..3c714b9 100644
--- a/tests/lookup/test_pinyin_lookup.cpp
+++ b/tests/lookup/test_pinyin_lookup.cpp
@@ -55,7 +55,7 @@ int main( int argc, char * argv[]){
g_array_append_val(prefixes, sentence_start);
CandidateConstraints constraints = g_array_new
- (FALSE, FALSE, sizeof(lookup_constraint_t));
+ (TRUE, FALSE, sizeof(lookup_constraint_t));
MatchResults results = g_array_new(FALSE, FALSE, sizeof(phrase_token_t));