1
0
mirror of https://github.com/golang/go synced 2024-11-08 12:16:15 -07:00
go/src/cmd/gofmt
Egon Elbre e86168430f cmd/fix,cmd/gofmt: flush to disk before diffing
Flush file content to disk before diffing files,
may cause unpredictable results on Windows.

Convert from \r\n to \n when comparing diff result.

Change-Id: Ibcd6154a2382dba1338ee5674333611aea16bb65
Reviewed-on: https://go-review.googlesource.com/36750
Reviewed-by: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
2017-03-30 18:19:57 +00:00
..
testdata cmd/gofmt: clear pattern match map at the correct time 2017-02-08 04:48:20 +00:00
doc.go cmd/gofmt: clarify doc string even more 2017-03-20 20:13:34 +00:00
gofmt_test.go cmd/fix,cmd/gofmt: flush to disk before diffing 2017-03-30 18:19:57 +00:00
gofmt.go cmd/fix,cmd/gofmt: flush to disk before diffing 2017-03-30 18:19:57 +00:00
internal.go
long_test.go
rewrite.go cmd/gofmt: clear pattern match map at the correct time 2017-02-08 04:48:20 +00:00
simplify.go cmd/gofmt: simplify map key literals 2016-10-12 03:55:43 +00:00