diff options
Diffstat (limited to 'src/cmd/gofmt/testdata/stdin6.input')
-rw-r--r-- | src/cmd/gofmt/testdata/stdin6.input | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/cmd/gofmt/testdata/stdin6.input b/src/cmd/gofmt/testdata/stdin6.input new file mode 100644 index 0000000..7833002 --- /dev/null +++ b/src/cmd/gofmt/testdata/stdin6.input @@ -0,0 +1,21 @@ + //gofmt -stdin + + if err != nil { + source := strings.NewReader(`line 1. +line 2. +`) + return source + } + + f:=func( hat, tail string){ + + + + fmt. Println ( hat+ ` +foo + + +`+ tail , + "more" , + "and more" ) + } |