Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1544)

Delta Between Two Patch Sets: src/cmd/gofmt/testdata/stdin6.golden

Issue 142360043: code review 142360043: go/format, cmd/gofmt: fix issues with partial Go code w... (Closed)
Left Patch Set: diff -r 48355ec55578b156b58c7df974acf132ab2e9d73 https://code.google.com/p/go Created 9 years, 6 months ago
Right Patch Set: diff -r 8f36a32a9d036f86fb956c8538142eb384bd1a4a https://code.google.com/p/go Created 9 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/cmd/gofmt/long_test.go ('k') | src/cmd/gofmt/testdata/stdin6.input » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 //gofmt -stdin 1 //gofmt -stdin
2 2
3 if err != nil { 3 if err != nil {
4 source := strings.NewReader(`line 1. 4 source := strings.NewReader(`line 1.
5 line 2. 5 line 2.
6 `) 6 `)
7 return source 7 return source
8 } 8 }
9
10 f := func(hat, tail string) {
11
12 fmt.Println(hat+`
13 foo
14
15
16 `+tail,
17 "more",
18 "and more")
19 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b