Tests: Run clang-format on FindICU test code

This commit is contained in:
Brad King 2016-07-13 10:01:02 -04:00
parent e3bff7b3af
commit 0e9e6aa85d
1 changed files with 7 additions and 8 deletions

View File

@ -1,21 +1,20 @@
#include <unicode/utypes.h>
#include <unicode/ustring.h>
#include <unicode/uclean.h> #include <unicode/uclean.h>
#include <unicode/ustring.h>
#include <unicode/utypes.h>
#include <unicode/ucal.h>
#include <unicode/ucnv.h> #include <unicode/ucnv.h>
#include <unicode/udat.h> #include <unicode/udat.h>
#include <unicode/ucal.h>
int int main()
main()
{ {
UConverter *cnv = 0; UConverter* cnv = 0;
UErrorCode status = U_ZERO_ERROR; UErrorCode status = U_ZERO_ERROR;
ucnv_open(NULL, &status); ucnv_open(NULL, &status);
UChar uchars[100]; UChar uchars[100];
const char *chars = "Test"; const char* chars = "Test";
if(cnv&&U_SUCCESS(status)) { if (cnv && U_SUCCESS(status)) {
int32_t len = ucnv_toUChars(cnv, uchars, 100, chars, -1, &status); int32_t len = ucnv_toUChars(cnv, uchars, 100, chars, -1, &status);
} }