summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-04-01 13:53:23 +0800
committerPeng Wu <alexepico@gmail.com>2013-04-01 13:53:23 +0800
commit796012ff32e0b39539ddd5d328403147d71a47ff (patch)
tree5bdda4175cc87698e5f4449705a2fe7beee91282 /tests
parentbd294b8971242bfa3602dbba85faca1643792366 (diff)
downloadlibpinyin-796012ff32e0b39539ddd5d328403147d71a47ff.tar.gz
libpinyin-796012ff32e0b39539ddd5d328403147d71a47ff.tar.xz
libpinyin-796012ff32e0b39539ddd5d328403147d71a47ff.zip
update spseg.cpp
Diffstat (limited to 'tests')
-rw-r--r--tests/storage/test_parser2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_parser2.cpp b/tests/storage/test_parser2.cpp
index 046c523..5ea3fb8 100644
--- a/tests/storage/test_parser2.cpp
+++ b/tests/storage/test_parser2.cpp
@@ -66,7 +66,7 @@ int main(int argc, char * argv[]) {
g_option_context_add_main_entries(context, entries, NULL);
if (!g_option_context_parse(context, &argc, &argv, &error)) {
g_print("option parsing failed:%s\n", error->message);
- exit(1);
+ exit(EINVAL);
}
if (incomplete)