Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Side by Side Diff: tools/gn/command_format_unittest.cc

Issue 613473002: gn format: properly break and align multiple suffix comments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-list-comment-spacing
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/gn/command_format.cc ('k') | tools/gn/format_test_data/020.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/files/file_util.h" 5 #include "base/files/file_util.h"
6 #include "base/strings/string_util.h" 6 #include "base/strings/string_util.h"
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 #include "tools/gn/commands.h" 8 #include "tools/gn/commands.h"
9 9
10 namespace commands { 10 namespace commands {
(...skipping 30 matching lines...) Expand all
41 FORMAT_TEST(010) 41 FORMAT_TEST(010)
42 FORMAT_TEST(011) 42 FORMAT_TEST(011)
43 FORMAT_TEST(012) 43 FORMAT_TEST(012)
44 FORMAT_TEST(013) 44 FORMAT_TEST(013)
45 FORMAT_TEST(014) 45 FORMAT_TEST(014)
46 FORMAT_TEST(015) 46 FORMAT_TEST(015)
47 // TODO(scottmg): Requires precedence/parentheses FORMAT_TEST(016) 47 // TODO(scottmg): Requires precedence/parentheses FORMAT_TEST(016)
48 FORMAT_TEST(017) 48 FORMAT_TEST(017)
49 FORMAT_TEST(018) 49 FORMAT_TEST(018)
50 FORMAT_TEST(019) 50 FORMAT_TEST(019)
51 FORMAT_TEST(020)
OLDNEW
« no previous file with comments | « tools/gn/command_format.cc ('k') | tools/gn/format_test_data/020.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698