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

Side by Side Diff: tools/gn/format_test_data/025.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 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_unittest.cc ('k') | tools/gn/format_test_data/026.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 # Various parenthesis maintenance/trimming. 1 # Various parenthesis maintenance/trimming.
2 if (a.b && c[d] + (x < 4 || z + b)) { 2 if (a.b && c[d] + (x < 4 || z + b)) {
3 y = z - (y - (x - !(b - d))) 3 y = z - (y - (x - !(b - d)))
4 a += [ 4 a += [
5 "a", 5 "a",
6 "b", 6 "b",
7 "c", 7 "c",
8 ] - ([ "x" ] - [ "y" ]) 8 ] - ([ "x" ] - [ "y" ])
9 } 9 }
OLDNEW
« no previous file with comments | « tools/gn/command_format_unittest.cc ('k') | tools/gn/format_test_data/026.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698