aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/gofmt/testdata
AgeCommit message (Expand)Author
2021-06-22[dev.typeparams] cmd/gofmt: remove typeparams guardsRob Findley
2021-02-10[dev.typeparams] cmd/gofmt: add the -G flag to allow generic codeRob Findley
2019-10-28go/ast: fix SortImports to handle block comments (take 2)Agniva De Sarker
2019-09-24cmd/gofmt: fix computation of function header sizeEli Bendersky
2019-09-11cmd/gofmt: don't turn nil slices into empty slices during rewritingDominik Honnef
2019-08-16cmd/gofmt: update TestRewrite to avoid future regressionsJoe Tsai
2019-08-08Revert "go/ast: fix SortImports to handle block comments"Joe Tsai
2019-06-21cmd/gofmt: fix normalization of imaginary number literalsRobert Griesemer
2019-03-28go/ast: fix SortImports to handle block commentsAgniva De Sarker
2019-02-19cmd/gofmt: normalize integer imaginary literals starting with 0Robert Griesemer
2019-02-11cmd/gofmt: normalize number prefixes and exponentsRobert Griesemer
2019-02-11cmd/gofmt: test that Go 2 number literals can be formattedRobert Griesemer
2017-02-08cmd/gofmt: clear pattern match map at the correct timeMatthew Dempsky
2017-01-10[dev.typealias] cmd/gofmt: added test cases for alias type declarationsRobert Griesemer
2016-10-12cmd/gofmt: simplify map key literalsGustav Westling
2016-04-06cmd/gofmt: make gofmt -s simplify slices in presence of dot-importsRobert Griesemer
2015-12-07go/parser, go/types: report invalid else branch in if statementsRobert Griesemer
2014-09-29go/format, cmd/gofmt: fix issues with partial Go code with indentDmitri Shuralyov
2014-08-22cmd/gofmt: fix error on partial Go code ending with line comment.Dmitri Shuralyov
2014-08-21cmd/gofmt: make test files self-describingRobert Griesemer
2014-08-21cmd/gofmt: remove testdata/*.gofmt filesRobert Griesemer
2014-07-17gofmt: -s flag simplifies "for _ = range x"Robert Griesemer
2014-07-01cmd/gofmt: fix gofmt -s for 3-index slicesRobert Griesemer
2014-07-01gofmt/main: Added removal of empty declaration groups.Simon Whitehead
2014-05-20all: fix "the the" typos.Shenghou Ma
2013-09-06cmd/gofmt: sort more, remove some duplicate importsJosh Bleecher Snyder
2013-04-03go/parser: ParseExpr must accept type expressionsRobert Griesemer
2013-04-02cmd/gofmt: handle ... in rewrite of callsRobert Griesemer
2013-01-18all: remove exec bit on filesShenghou Ma
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-12-02gofmt: handle &T in composite literal simplifyRuss Cox
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-04-14gofmt: don't crash when rewriting nil interfaces in AST.Robert Griesemer
2011-04-13gofmt: add test framework in GoRobert Griesemer
2010-10-22go ast/parser/printer: permit elision of composite literal types for composit...Robert Griesemer