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

Unified Diff: tools/gn/command_format_unittest.cc

Issue 608593006: gn format: don't crash when there's no block on a function call (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-format-list-end
Patch Set: trailing space Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/command_format.cc ('k') | tools/gn/format_test_data/018.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/command_format_unittest.cc
diff --git a/tools/gn/command_format_unittest.cc b/tools/gn/command_format_unittest.cc
index 5e6cfd20e0c6cdd51fb72344b4e6950f3c691df4..8c34078d4dec740fe656803328306e47acc7e498 100644
--- a/tools/gn/command_format_unittest.cc
+++ b/tools/gn/command_format_unittest.cc
@@ -46,3 +46,4 @@ FORMAT_TEST(014)
FORMAT_TEST(015)
// TODO(scottmg): Requires precedence/parentheses FORMAT_TEST(016)
FORMAT_TEST(017)
+FORMAT_TEST(018)
« no previous file with comments | « tools/gn/command_format.cc ('k') | tools/gn/format_test_data/018.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698