aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/gofmt/gofmt_test.go
AgeCommit message (Expand)Author
2021-09-24cmd/gofmt: format files in parallelDaniel Martí
2021-06-22[dev.typeparams] cmd/gofmt: remove typeparams guardsRob Findley
2021-04-13go/*,cmd/gofmt: guard AST changes with the typeparams build tagRob Findley
2021-03-02go/parser,go/types: hide API changes related to type parametersRob Findley
2021-02-10[dev.typeparams] cmd/gofmt: add the -G flag to allow generic codeRob Findley
2020-12-09all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTempRuss Cox
2019-10-28cmd/fix, cmd/go, cmd/gofmt: refactor common code into new internal diff packageMikhail Fesenko
2018-09-26all: use strings.ReplaceAll and bytes.ReplaceAll where applicableBrad Fitzpatrick
2017-03-30cmd/fix,cmd/gofmt: flush to disk before diffingEgon Elbre
2017-02-08cmd/gofmt: use actual filename in gofmt -d outputhaya14busa
2016-11-23cmd/gofmt: don't call Chmod on windowsBrad Fitzpatrick
2016-04-01all: use bytes.Equal, bytes.Contains and strings.ContainsDominik Honnef
2014-08-21cmd/gofmt: make test files self-describingRobert Griesemer
2014-07-17gofmt: -s flag simplifies "for _ = range x"Robert Griesemer
2014-07-01gofmt/main: Added removal of empty declaration groups.Simon Whitehead
2014-01-14cmd/gofmt: remove -tabwidth and -tabs flagsBrad Fitzpatrick
2013-04-03go/parser: ParseExpr must accept type expressionsRobert Griesemer
2013-04-02cmd/gofmt: handle ... in rewrite of callsRobert Griesemer
2013-01-07cmd/gofmt, bufio, image: Consistency and error handling.Robin Eklind
2013-01-07src: Use bytes.Equal instead of bytes.Compare where possible.Matthew Dempsky
2012-12-06gofmt: test rewrite of (x.(type)) -> x.(type)Robert Griesemer
2012-10-31gofmt: simplify slices of the form s[a : len(s)] to s[a:]Robert Griesemer
2012-09-19gofmt: added testcase for files containing \r\n line endingsRobert Griesemer
2012-06-25gofmt: handle comments correctly in rewritesRobert Griesemer
2012-02-15go/printer: don't lose relevant parentheses when rewriting selector expressionsRobert Griesemer
2011-11-11gofmt: leave nil nodes of the AST unchanged.Rémy Oudompheng
2011-11-02gofmt, gofix: sort importsRuss Cox
2011-10-14gofmt: fix //line handlingRuss Cox
2011-09-14gofmt: add else testRuss Cox
2011-09-12gofmt: accept program fragments on standard inputRuss Cox
2011-07-14go/printer: changed max. number of newlines from 3 to 2Robert Griesemer
2011-06-28strings.Split: make the default to split all.Rob Pike
2011-04-14gofmt: don't crash when rewriting nil interfaces in AST.Robert Griesemer
2011-04-13gofmt: add test framework in GoRobert Griesemer