Deleted
Added
1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <nxt_main.h> 8#include "nxt_tests.h" --- 164 unchanged lines hidden (view full) --- 173 } 174 } 175 } 176 } 177 } 178 179 n = nxt_utf8_casecmp((u_char *) "ABC АБВ ΑΒΓ", 180 (u_char *) "abc абв αβγ", |
181 nxt_length("ABC АБВ ΑΒΓ"), 182 nxt_length("abc абв αβγ")); |
183 184 if (n != 0) { 185 nxt_log_alert(thr->log, "nxt_utf8_casecmp() failed"); 186 return NXT_ERROR; 187 } 188 189 nxt_log_error(NXT_LOG_NOTICE, thr->log, "utf8 test passed"); 190 return NXT_OK; 191} |