summaryrefslogtreecommitdiffstats
path: root/Tests/FindICU/Test
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-07-13 14:01:02 (GMT)
committerBrad King <brad.king@kitware.com>2016-07-13 14:01:02 (GMT)
commit0e9e6aa85d729da6287f5519a89240ad55281096 (patch)
tree40f3518918c2d973492c2221a3893124d03c9fae /Tests/FindICU/Test
parente3bff7b3af6257caff24a43e3afd59e087f4e9d8 (diff)
downloadCMake-0e9e6aa85d729da6287f5519a89240ad55281096.zip
CMake-0e9e6aa85d729da6287f5519a89240ad55281096.tar.gz
CMake-0e9e6aa85d729da6287f5519a89240ad55281096.tar.bz2
Tests: Run clang-format on FindICU test code
Diffstat (limited to 'Tests/FindICU/Test')
-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);
}