diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-06-01 21:35:39 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-06-01 21:35:39 +0000 |
commit | d04c6851681bc9b89ba98c1644cd62d7fb719ac2 (patch) | |
tree | 87ee3e3b4ed3729e24e3d715ce41ed13c9b70adb /libcxx/test/std/localization/locale.categories | |
parent | b4a4357ecb6a5a716bf1715bd14733a9641de222 (diff) | |
download | bcm5719-llvm-d04c6851681bc9b89ba98c1644cd62d7fb719ac2.tar.gz bcm5719-llvm-d04c6851681bc9b89ba98c1644cd62d7fb719ac2.zip |
Remove trailing whitespace in test suite. Approved by Marshall Clow.
llvm-svn: 271435
Diffstat (limited to 'libcxx/test/std/localization/locale.categories')
3 files changed, 8 insertions, 8 deletions
diff --git a/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/classic_table.pass.cpp b/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/classic_table.pass.cpp index b5690e3c6b2..f7b0e5b7156 100644 --- a/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/classic_table.pass.cpp +++ b/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/classic_table.pass.cpp @@ -30,7 +30,7 @@ int main() for ( size_t i = 0; i < 128; ++i ) // values above 128 are not consistent { mask set = 0; - + if ( i < 32 || i > 126 ) set |= F::cntrl; if ( i >= 32 && i <= 126 ) set |= F::print; @@ -51,9 +51,9 @@ int main() if ( i >= 58 && i <= 64 ) set |= F::punct; // ':' .. '@' if ( i >= 91 && i <= 96 ) set |= F::punct; // '[' .. '`' if ( i >= 123 && i <= 126 ) set |= F::punct; // '{' .. '~' } - + assert(( p[i] & set) == set); // all the right bits set assert(((p[i] & ~set) & defined) == 0); // no extra ones } - + } diff --git a/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp b/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp index a52c2c7c153..cf9339341ab 100644 --- a/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp +++ b/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp @@ -24420,7 +24420,7 @@ void test12() std::locale lg(lc, new my_numpunct); #ifdef __APPLE__ // This test is failing on FreeBSD, possibly due to different representations -// of the floating point numbers. +// of the floating point numbers. const my_facet f(1); char str[200]; { diff --git a/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_min_max.pass.cpp b/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_min_max.pass.cpp index e474eca2f5b..6ba5a89e61e 100644 --- a/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_min_max.pass.cpp +++ b/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_min_max.pass.cpp @@ -25,14 +25,14 @@ void check_limits() assert(miniss << minv); assert(maxiss << maxv); std::string mins = miniss.str(); - std::string maxs = maxiss.str(); + std::string maxs = maxiss.str(); istringstream maxoss(maxs), minoss(mins); T new_minv, new_maxv; assert(maxoss >> new_maxv); assert(minoss >> new_minv); - + assert(new_minv == minv); assert(new_maxv == maxv); @@ -40,11 +40,11 @@ void check_limits() mins = "-1"; else mins[mins.size() - 1]++; - + maxs[maxs.size() - 1]++; istringstream maxoss2(maxs), minoss2(mins); - + assert(! (maxoss2 >> new_maxv)); assert(! (minoss2 >> new_minv)); } |