From: K.Kosako Date: Wed, 30 Jan 2019 04:53:42 +0000 (+0900) Subject: add pattern output for error case X-Git-Tag: v6.9.2_rc1~65^2~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58d3a5844c18c9fe55c2e62c5d3c35c96665e71f;p=onig add pattern output for error case --- diff --git a/test/test_utf8.c b/test/test_utf8.c index 02aa06b..ec7726d 100644 --- a/test/test_utf8.c +++ b/test/test_utf8.c @@ -61,7 +61,7 @@ static void xx(char* pattern, char* str, int from, int to, int mem, int not, if (error_no == 0) { onig_error_code_to_str((UChar* )s, r); - fprintf(err_file, "ERROR: %s\n", s); + fprintf(err_file, "ERROR: %s /%s/\n", s, pattern); nerror++; } else {