diff options
author | K.Kosako <kkosako0@gmail.com> | 2019-03-29 20:42:14 +0900 |
---|---|---|
committer | K.Kosako <kkosako0@gmail.com> | 2019-03-29 20:42:14 +0900 |
commit | 1c8282dc28fd48da58d8d577c4cee936a96d518e (patch) | |
tree | d17b4c833e9aa92393a2a939b38074aa8135d1b3 /test/testu.c | |
parent | 91b202f3e1f6f1eea1161af0b1eaaa72cb390891 (diff) | |
download | oniguruma-1c8282dc28fd48da58d8d577c4cee936a96d518e.zip oniguruma-1c8282dc28fd48da58d8d577c4cee936a96d518e.tar.gz oniguruma-1c8282dc28fd48da58d8d577c4cee936a96d518e.tar.bz2 |
remove tabs
Diffstat (limited to 'test/testu.c')
-rw-r--r-- | test/testu.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/testu.c b/test/testu.c index 58fca61..4b053e5 100644 --- a/test/testu.c +++ b/test/testu.c @@ -107,7 +107,7 @@ static void xx(char* pattern, char* str, int from, int to, int mem, int not) } else { fprintf(stdout, "FAIL: /%s/ '%s' %d-%d : %d-%d\n", cpat, cstr, - from, to, pmatch[mem].rm_so, pmatch[mem].rm_eo); + from, to, pmatch[mem].rm_so, pmatch[mem].rm_eo); nfail++; } } @@ -124,7 +124,7 @@ static void xx(char* pattern, char* str, int from, int to, int mem, int not) #if 0 r = onig_new(®, (UChar* )pattern, (UChar* )(pattern + ulen(pattern)), - ONIG_OPTION_DEFAULT, ENC, ONIG_SYNTAX_DEFAULT, &einfo); + ONIG_OPTION_DEFAULT, ENC, ONIG_SYNTAX_DEFAULT, &einfo); #else ci.num_of_elements = 5; ci.pattern_enc = ENC; @@ -147,8 +147,8 @@ static void xx(char* pattern, char* str, int from, int to, int mem, int not) } r = onig_search(reg, (UChar* )str, (UChar* )(str + ulen(str)), - (UChar* )str, (UChar* )(str + ulen(str)), - region, ONIG_OPTION_NONE); + (UChar* )str, (UChar* )(str + ulen(str)), + region, ONIG_OPTION_NONE); if (r < ONIG_MISMATCH) { char s[ONIG_MAX_ERROR_MESSAGE_LEN]; onig_error_code_to_str((UChar* )s, r); @@ -179,7 +179,7 @@ static void xx(char* pattern, char* str, int from, int to, int mem, int not) } else { fprintf(stdout, "FAIL: /%s/ '%s' %d-%d : %d-%d\n", cpat, cstr, - from, to, region->beg[mem], region->end[mem]); + from, to, region->beg[mem], region->end[mem]); nfail++; } } |