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

Side by Side Diff: src/cmd/gofmt/testdata/stdin7.golden

Issue 142360043: code review 142360043: go/format, cmd/gofmt: fix issues with partial Go code w... (Closed)
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:
View unified diff | Download patch
« no previous file with comments | « src/cmd/gofmt/testdata/stdin6.input ('k') | src/cmd/gofmt/testdata/stdin7.input » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 //gofmt -stdin
2
3 if err != nil {
4 source := strings.NewReader(`lin e 1.
5 line 2.
6 `)
7 return source
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 }
OLDNEW
« no previous file with comments | « src/cmd/gofmt/testdata/stdin6.input ('k') | src/cmd/gofmt/testdata/stdin7.input » ('j') | no next file with comments »

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