[libcxx] [test] Strip trailing whitespace.

No functional change, no code review.

llvm-svn: 294161
This commit is contained in:
Stephan T. Lavavej 2017-02-05 22:48:27 +00:00
parent 881d861346
commit 134ed9986a
3 changed files with 5 additions and 5 deletions

View File

@ -112,15 +112,15 @@ int main()
typedef std::basic_string<char, std::char_traits<char>, A> S;
const char * p1 = "This is my first string";
const char * p2 = "This is my second string";
alloc_imp<char> imp1;
alloc_imp<char> imp2;
S s1(p1, A(&imp1));
S s2(p2, A(&imp2));
assert(s1 == p1);
assert(s2 == p2);
imp2.deactivate();
test_assign(s1, s2);
assert(s1 == p1);

View File

@ -15,7 +15,7 @@
// [optional.nullopt]/2:
// Type nullopt_t shall not have a default constructor or an initializer-list constructor.
// It shall not be an aggregate and shall be a literal type.
// It shall not be an aggregate and shall be a literal type.
// Constant nullopt shall be initialized with an argument of literal type.
#include <optional>

View File

@ -15,7 +15,7 @@
// [optional.nullopt]/2:
// Type nullopt_t shall not have a default constructor or an initializer-list constructor.
// It shall not be an aggregate and shall be a literal type.
// It shall not be an aggregate and shall be a literal type.
// Constant nullopt shall be initialized with an argument of literal type.
#include <optional>