[clang-format] Add AlwaysBreakBeforeMultilineString tests
Summary: Followup to D47393. Reviewers: stephanemoore Reviewed By: stephanemoore Subscribers: benhamilton, cfe-commits Differential Revision: https://reviews.llvm.org/D48432 llvm-svn: 335338
This commit is contained in:
parent
c9c0ccc8a9
commit
2b772c1136
|
@ -1227,6 +1227,15 @@ TEST_F(FormatTestObjC, AlwaysBreakBeforeMultilineStrings) {
|
|||
" @\"cccc\");");
|
||||
verifyFormat("aaaa(qqq, @\"bbbb\"\n"
|
||||
" @\"cccc\");");
|
||||
verifyFormat("[aaaa qqqq:@\"bbbb\"\n"
|
||||
" @\"cccc\"];");
|
||||
verifyFormat("aaaa = [aaaa qqqq:@\"bbbb\"\n"
|
||||
" @\"cccc\"];");
|
||||
verifyFormat("[aaaa qqqq:@\"bbbb\"\n"
|
||||
" @\"cccc\"\n"
|
||||
" rr:42\n"
|
||||
" ssssss:@\"ee\"\n"
|
||||
" @\"fffff\"];");
|
||||
}
|
||||
|
||||
} // end namespace
|
||||
|
|
Loading…
Reference in New Issue