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/strings/basic.string.literals | |
| 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/strings/basic.string.literals')
| -rw-r--r-- | libcxx/test/std/strings/basic.string.literals/literal.pass.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/test/std/strings/basic.string.literals/literal.pass.cpp b/libcxx/test/std/strings/basic.string.literals/literal.pass.cpp index 26227661832..d121e25ba27 100644 --- a/libcxx/test/std/strings/basic.string.literals/literal.pass.cpp +++ b/libcxx/test/std/strings/basic.string.literals/literal.pass.cpp @@ -22,24 +22,24 @@ int main() static_assert ( std::is_same<decltype( L"Hi"s), std::wstring>::value, "" ); static_assert ( std::is_same<decltype( u"Hi"s), std::u16string>::value, "" ); static_assert ( std::is_same<decltype( U"Hi"s), std::u32string>::value, "" ); - + std::string foo; std::wstring Lfoo; std::u16string ufoo; std::u32string Ufoo; - + foo = ""s; assert( foo.size() == 0); foo = u8""s; assert( foo.size() == 0); Lfoo = L""s; assert(Lfoo.size() == 0); ufoo = u""s; assert(ufoo.size() == 0); Ufoo = U""s; assert(Ufoo.size() == 0); - + foo = " "s; assert( foo.size() == 1); foo = u8" "s; assert( foo.size() == 1); Lfoo = L" "s; assert(Lfoo.size() == 1); ufoo = u" "s; assert(ufoo.size() == 1); Ufoo = U" "s; assert(Ufoo.size() == 1); - + foo = "ABC"s; assert( foo == "ABC"); assert( foo == std::string ( "ABC")); foo = u8"ABC"s; assert( foo == u8"ABC"); assert( foo == std::string (u8"ABC")); Lfoo = L"ABC"s; assert(Lfoo == L"ABC"); assert(Lfoo == std::wstring ( L"ABC")); |

