summaryrefslogtreecommitdiffstats
path: root/tests/lookup/test_pinyin_lookup.cpp
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:45:04 +0800
commit34008b9e2cb6c6d8228af3fdece5eadc3a30daa0 (patch)
treed5f824e5bd0b86a1dcc15835707f4239f4da61eb /tests/lookup/test_pinyin_lookup.cpp
parent6c26daabfbb59f8aa9694ea5b0e46631fdb74403 (diff)
downloadlibpinyin-34008b9e2cb6c6d8228af3fdece5eadc3a30daa0.tar.gz
libpinyin-34008b9e2cb6c6d8228af3fdece5eadc3a30daa0.tar.xz
libpinyin-34008b9e2cb6c6d8228af3fdece5eadc3a30daa0.zip
fixes constraints array
Diffstat (limited to 'tests/lookup/test_pinyin_lookup.cpp')
-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));