]> Cypherpunks repositories - gostls13.git/commit
gofmt: add test framework in Go
authorRobert Griesemer <gri@golang.org>
Wed, 13 Apr 2011 20:59:59 +0000 (13:59 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 13 Apr 2011 20:59:59 +0000 (13:59 -0700)
commit99f069a97f66aa42c88838f1e01059e42a5864dd
tree17ebea9b35d1c3d27e7c52ce10c061b90afcf84b
parent3d4b55ad5b99def7f7e3f8694e590c1b44a1be97
gofmt: add test framework in Go

- replaced existing testdata/test.sh with new gofmt_test
- added initial test case for rewrite tests

TODO: Need to add more tests.

R=rsc
CC=golang-dev
https://golang.org/cl/4368063
src/cmd/gofmt/gofmt_test.go [new file with mode: 0644]
src/cmd/gofmt/testdata/rewrite1.golden [new file with mode: 0644]
src/cmd/gofmt/testdata/rewrite1.input [new file with mode: 0644]
src/cmd/gofmt/testdata/test.sh [deleted file]