From 809debc9809e90d924a34b8ba9f3366c28be8e80 Mon Sep 17 00:00:00 2001 From: Bo-Cheng Jhan Date: Sun, 23 Jul 2017 04:12:23 +0800 Subject: [PATCH] Test chewing_set_logger2 with NULL parameters --- test/test-logger.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test-logger.c b/test/test-logger.c index 45b34fd41..086db4dfe 100644 --- a/test/test-logger.c +++ b/test/test-logger.c @@ -32,6 +32,9 @@ void test_set_null_logger() chewing_set_logger(ctx, NULL, 0); type_keystroke_by_string(ctx, "hk4g4"); + chewing_set_logger2(ctx, NULL, 0); + type_keystroke_by_string(ctx, "hk4g4"); + chewing_delete(ctx); }