[libcxx] [test] D27027: Strip trailing whitespace.

llvm-svn: 287829
This commit is contained in:
Stephan T. Lavavej
2016-11-23 22:03:28 +00:00
parent 640660aa3f
commit d72ece6462
58 changed files with 91 additions and 91 deletions

View File

@@ -66,14 +66,14 @@ int main()
typedef std::string S;
S s_short = "123/";
S s_long = "Lorem ipsum dolor sit amet, consectetur/";
s_short.append(s_short.c_str());
assert(s_short == "123/123/");
s_short.append(s_short.c_str());
assert(s_short == "123/123/123/123/");
s_short.append(s_short.c_str());
assert(s_short == "123/123/123/123/123/123/123/123/");
s_long.append(s_long.c_str());
assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/");
}