mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-24 12:02:36 +08:00
[libcxx] [test] Strip trailing whitespace.
No functional change, no code review. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@294161 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user