mirror of
https://github.com/golang/go
synced 2024-11-08 19:46:23 -07:00
67812a7cd9
1) Interpret a comment of the form //gofmt <flags> in test files to drive the respective gofmt command. Eliminates the need to enumerate all test files in the test harness. 2) Added -update flag to make it easier to update test cases. LGTM=josharian R=golang-codereviews, josharian CC=golang-codereviews https://golang.org/cl/130440043
6 lines
32 B
Plaintext
6 lines
32 B
Plaintext
//gofmt -stdin
|
|
|
|
if x {
|
|
y
|
|
}
|