summaryrefslogtreecommitdiffstats
path: root/tests/test_pinyin.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-09-27 10:40:26 +0800
committerPeng Wu <alexepico@gmail.com>2011-09-27 10:42:30 +0800
commit61ee715927f782dd16f9a7b7ec0e3e989786e0c8 (patch)
treea04bd9940b20991e545bc36acb30e6d63651d43d /tests/test_pinyin.cpp
parent9249dbb49b26b6aac78b0a79081c261f971db978 (diff)
downloadlibpinyin-61ee715927f782dd16f9a7b7ec0e3e989786e0c8.tar.gz
libpinyin-61ee715927f782dd16f9a7b7ec0e3e989786e0c8.tar.xz
libpinyin-61ee715927f782dd16f9a7b7ec0e3e989786e0c8.zip
fixes test parser0.2.99.1
Diffstat (limited to 'tests/test_pinyin.cpp')
-rw-r--r--tests/test_pinyin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_pinyin.cpp b/tests/test_pinyin.cpp
index 920c324..eb868d3 100644
--- a/tests/test_pinyin.cpp
+++ b/tests/test_pinyin.cpp
@@ -37,9 +37,8 @@ int main(int argc, char * argv[]){
linebuf[strlen(linebuf) - 1] = '\0';
}
- if ( strcmp ( linebuf, "quit" ) == 0) {
+ if ( strcmp ( linebuf, "quit" ) == 0)
break;
- }
pinyin_parse_more_full_pinyins(instance, linebuf);
pinyin_guess_sentence(instance);