Skip to content

Commit 5fcfbd2

Browse files
author
Galen Elias
committed
Remove ColumnLimit=0 tests
1 parent 72d57e0 commit 5fcfbd2

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

clang/unittests/Format/FormatTest.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28414,20 +28414,6 @@ TEST_F(FormatTest, ShortNamespacesOption) {
2841428414
"}}} // extra",
2841528415
Style);
2841628416

28417-
// No ColumnLimit, allows long nested one-liners, but also leaves multi-line
28418-
// instances alone.
28419-
Style.ColumnLimit = 0;
28420-
verifyFormat(
28421-
"namespace foo { namespace bar { namespace baz { class qux; } } }",
28422-
Style);
28423-
28424-
verifyNoChange("namespace foo {\n"
28425-
"namespace bar { namespace baz { class qux; } }\n"
28426-
"}",
28427-
Style);
28428-
28429-
verifyFormat("namespace foo { namespace bar { class baz; } }", Style);
28430-
2843128417
// FIXME: Ideally AllowShortNamespacesOnASingleLine would disable the trailing
2843228418
// namespace comment from 'FixNamespaceComments', as it's not really necessary
2843328419
// in this scenario, but the two options work at very different layers of the

0 commit comments

Comments
 (0)