File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -28414,20 +28414,6 @@ TEST_F(FormatTest, ShortNamespacesOption) {
28414
28414
"}}} // extra",
28415
28415
Style);
28416
28416
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
-
28431
28417
// FIXME: Ideally AllowShortNamespacesOnASingleLine would disable the trailing
28432
28418
// namespace comment from 'FixNamespaceComments', as it's not really necessary
28433
28419
// in this scenario, but the two options work at very different layers of the
You can’t perform that action at this time.
0 commit comments