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

Unified Diff: tools/gn/format_test_data/043.golden

Issue 756413002: gn format: Fix and enable a few more tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-wrap-fix
Patch Set: x64 Created 6 years, 1 month 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/format_test_data/043.gn ('k') | tools/gn/format_test_data/050.golden » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/format_test_data/043.golden
diff --git a/tools/gn/format_test_data/043.golden b/tools/gn/format_test_data/043.golden
index a5bd80bdcfc27c3ef537986464c701c182371d38..5ba421b89a86a42d9083d6db047ae4f3eb72ed49 100644
--- a/tools/gn/format_test_data/043.golden
+++ b/tools/gn/format_test_data/043.golden
@@ -1,8 +1,10 @@
-# If it's not going to fit either way, don't wrap+indent. But if it will, then
-# that's better.
+# We might prefer not to break the first one since it still exceeds the maximum
+# width. At the moment, each character past the end is a greater penalty, so
+# breaking to +4 is "better".
# 80 ---------------------------------------------------------------------------
android_java_prebuilt("android_support_v13_java") {
- jar_path = "$android_sdk_root/extras/android/support/v7/appcompat/libs/android-support-v7-appcompat.jar"
+ jar_path =
+ "$android_sdk_root/extras/android/support/v7/appcompat/libs/android-support-v7-appcompat.jar"
jar_path =
"$android_sdk_root/extras/android/support/v13/android-support-v13.jar"
}
« no previous file with comments | « tools/gn/format_test_data/043.gn ('k') | tools/gn/format_test_data/050.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698