From 341b20bfa8d7cf14d17ca917a86d29ebdd4f506b Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周三, 18 3月 2015 16:56:40 +0800 Subject: [PATCH] Update strnpbrk test --- libscpi/test/test_scpi_utils.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/libscpi/test/test_scpi_utils.c b/libscpi/test/test_scpi_utils.c index a6f882c..dad8808 100644 --- a/libscpi/test/test_scpi_utils.c +++ b/libscpi/test/test_scpi_utils.c @@ -61,6 +61,9 @@ CU_ASSERT(strnpbrk(str, 4, "b") == NULL); CU_ASSERT(strnpbrk(str, 1, "h") == NULL); CU_ASSERT(strnpbrk(str, 4, "xo") == (str + 2)); + + CU_ASSERT(strnpbrk(str, 4, "j") == (str + 3)); + } -- Gitblit v1.9.1