summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-07-13 14:01:47 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-07-13 14:01:47 (GMT)
commit53df6d5995bef4a4884ede870c7b904033395ce2 (patch)
tree4c2102b425de86deab41c59173669386c759b724 /Tests
parent41c3c9a495b7d48f9388a0700cd294345e6dcccb (diff)
parent0e9e6aa85d729da6287f5519a89240ad55281096 (diff)
downloadCMake-53df6d5995bef4a4884ede870c7b904033395ce2.zip
CMake-53df6d5995bef4a4884ede870c7b904033395ce2.tar.gz
CMake-53df6d5995bef4a4884ede870c7b904033395ce2.tar.bz2
Merge topic 'findicu'
0e9e6aa8 Tests: Run clang-format on FindICU test code
Diffstat (limited to 'Tests')
-rw-r--r--Tests/FindICU/Test/main.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/Tests/FindICU/Test/main.cpp b/Tests/FindICU/Test/main.cpp
index 73c3ee1..64cc5d3 100644
--- a/Tests/FindICU/Test/main.cpp
+++ b/Tests/FindICU/Test/main.cpp
@@ -1,21 +1,20 @@
-#include <unicode/utypes.h>
-#include <unicode/ustring.h>
#include <unicode/uclean.h>
+#include <unicode/ustring.h>
+#include <unicode/utypes.h>
+#include <unicode/ucal.h>
#include <unicode/ucnv.h>
#include <unicode/udat.h>
-#include <unicode/ucal.h>
-int
-main()
+int main()
{
- UConverter *cnv = 0;
+ UConverter* cnv = 0;
UErrorCode status = U_ZERO_ERROR;
ucnv_open(NULL, &status);
UChar uchars[100];
- const char *chars = "Test";
- if(cnv&&U_SUCCESS(status)) {
+ const char* chars = "Test";
+ if (cnv && U_SUCCESS(status)) {
int32_t len = ucnv_toUChars(cnv, uchars, 100, chars, -1, &status);
}