1
0
mirror of https://github.com/golang/go synced 2024-11-22 06:14:39 -07:00

rename testfiles from .go -> .orig so that they won't be

picked up by gofmt (they should not be modified) or godoc
(testdata should not be considered a potential package
directory)

R=rsc
http://go/go-review/1018045
This commit is contained in:
Robert Griesemer 2009-11-04 16:50:13 -08:00
parent 688a6ff71d
commit 26c3f6c18d
7 changed files with 8 additions and 8 deletions

View File

@ -111,14 +111,14 @@ type entry struct {
// Use gotest -update to create/update the respective golden files.
var data = []entry{
entry{ "empty.go", "empty.golden", 0 },
entry{ "comments.go", "comments.golden", 0 },
entry{ "comments.go", "comments.x", export },
entry{ "linebreaks.go", "linebreaks.golden", 0 },
entry{ "expressions.go", "expressions.golden", 0 },
entry{ "expressions.go", "expressions.raw", rawFormat },
entry{ "declarations.go", "declarations.golden", 0 },
entry{ "statements.go", "statements.golden", 0 },
entry{ "empty.input", "empty.golden", 0 },
entry{ "comments.input", "comments.golden", 0 },
entry{ "comments.input", "comments.x", export },
entry{ "linebreaks.input", "linebreaks.golden", 0 },
entry{ "expressions.input", "expressions.golden", 0 },
entry{ "expressions.input", "expressions.raw", rawFormat },
entry{ "declarations.input", "declarations.golden", 0 },
entry{ "statements.input", "statements.golden", 0 },
}