[libcxx] [test] Untabify, NFC.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@309464 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Stephan T. Lavavej
2017-07-29 00:55:10 +00:00
parent 62e519c2f9
commit a686caad20
121 changed files with 786 additions and 786 deletions

View File

@@ -62,17 +62,17 @@ int main()
}
#endif
{ // test assignment to self
{ // test assignment to self
typedef std::string S;
S s_short = "123/";
S s_long = "Lorem ipsum dolor sit amet, consectetur/";
S s_short = "123/";
S s_long = "Lorem ipsum dolor sit amet, consectetur/";
s_short.assign(s_short.c_str());
assert(s_short == "123/");
s_short.assign(s_short.c_str() + 2);
assert(s_short == "3/");
s_short.assign(s_short.c_str());
assert(s_short == "123/");
s_short.assign(s_short.c_str() + 2);
assert(s_short == "3/");
s_long.assign(s_long.c_str() + 30);
assert(s_long == "nsectetur/");
}
s_long.assign(s_long.c_str() + 30);
assert(s_long == "nsectetur/");
}
}