File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1443,7 +1443,8 @@ TEST(ConfigParseTest, GetStyleOfFile) {
14431443 // Test 9.8: use inheritance from a file without BasedOnStyle
14441444 ASSERT_TRUE (FS.addFile (
14451445 " /e/withoutbase/.clang-format" , 0 ,
1446- llvm::MemoryBuffer::getMemBuffer (" BracedInitializerIndentWidth: 2" )));
1446+ llvm::MemoryBuffer::getMemBuffer (" BracedInitializerIndentWidth: 2\n "
1447+ " ColumnLimit: 123" )));
14471448 ASSERT_TRUE (
14481449 FS.addFile (" /e/withoutbase/sub/.clang-format" , 0 ,
14491450 llvm::MemoryBuffer::getMemBuffer (
@@ -1454,6 +1455,7 @@ TEST(ConfigParseTest, GetStyleOfFile) {
14541455 ASSERT_EQ (*Style9, [] {
14551456 auto Style = getLLVMStyle ();
14561457 Style.BracedInitializerIndentWidth = 2 ;
1458+ Style.ColumnLimit = 123 ;
14571459 return Style;
14581460 }());
14591461
@@ -1462,6 +1464,7 @@ TEST(ConfigParseTest, GetStyleOfFile) {
14621464 ASSERT_EQ (*Style9, [] {
14631465 auto Style = getLLVMStyle ();
14641466 Style.BracedInitializerIndentWidth = 2 ;
1467+ Style.ColumnLimit = 123 ;
14651468 Style.IndentWidth = 7 ;
14661469 return Style;
14671470 }());
You can’t perform that action at this time.
0 commit comments