[libcxx-commits] [libcxx] ec966f6 - [libcxx] [test] Make indentation more consistent in thousands_sep. NFC. (#99844)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 22 09:31:50 PDT 2024


Author: Martin Storsjö
Date: 2024-07-22T19:31:47+03:00
New Revision: ec966f699d26410d5d9a705af570fa339df0e78c

URL: https://github.com/llvm/llvm-project/commit/ec966f699d26410d5d9a705af570fa339df0e78c
DIFF: https://github.com/llvm/llvm-project/commit/ec966f699d26410d5d9a705af570fa339df0e78c.diff

LOG: [libcxx] [test] Make indentation more consistent in thousands_sep. NFC. (#99844)

This was made inconsistent recently in
f114eddb1923289b696f1b0980cc22c4dbaafa22.

Added: 
    

Modified: 
    libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp b/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp
index f368b1069c063..850352b3bc1ec 100644
--- a/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp
+++ b/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp
@@ -64,7 +64,7 @@ int main(int, char**)
         std::locale l(LOCALE_fr_FR_UTF_8);
         {
 #if defined(_CS_GNU_LIBC_VERSION) || defined(_WIN32) || defined(_AIX)
-          const char sep = ' ';
+            const char sep = ' ';
 #else
             const char sep = ',';
 #endif
@@ -77,11 +77,11 @@ int main(int, char**)
 #if defined(_CS_GNU_LIBC_VERSION)
             const wchar_t wsep = glibc_version_less_than("2.27") ? L' ' : L'\u202f';
 #  elif defined(_AIX)
-          const wchar_t wsep = L'\u202F';
+            const wchar_t wsep = L'\u202F';
 #  elif defined(_WIN32)
-          const wchar_t wsep = L'\u00A0';
+            const wchar_t wsep = L'\u00A0';
 #  else
-          const wchar_t wsep = L',';
+            const wchar_t wsep = L',';
 #  endif
             typedef wchar_t C;
             const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l);


        


More information about the libcxx-commits mailing list