From 9d88e1b571e354749f218909edc0b2b7948ae508 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Tue, 27 Feb 2018 17:31:50 +0900 Subject: [PATCH] add a test case into sample/count.c --- sample/count.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sample/count.c b/sample/count.c index e8b8c54..d43ff46 100644 --- a/sample/count.c +++ b/sample/count.c @@ -106,6 +106,7 @@ extern int main(int argc, char* argv[]) test(encs[0], mp, "abc(.(*COUNT[x]))*(*FAIL)", "abcdefg"); test(encs[0], mp, "abc(.(*COUNT[_any_]))*(.(*COUNT[x]))*d", "abcdefg"); test(encs[0], mp, "abc(.(*FAIL_COUNT[x]))*f", "abcdefg"); + test(encs[0], mp, "a(.(*COUNT[x]))*z", "abcd\nabcdz"); test(encs[1], mp, "\000a\000b\000c\000(\000.\000(\000*\000C\000O\000U\000N\000T\000[\000x\000]\000)\000)\000*\000(\000*\000F\000A\000I\000L\000)\000\000", "\000a\000b\000c\000d\000e\000f\000g\000\000"); -- 2.40.0