summaryrefslogtreecommitdiff
path: root/src/pkg/testing/regexp.go
AgeCommit message (Collapse)AuthorFilesLines
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-831/+0
2010-03-31testing/regexp: use recover.Rob Pike1-58/+31
R=rsc CC=golang-dev http://codereview.appspot.com/816042 Committer: Rob Pike <r@golang.org>
2010-03-26fix buildRobert Griesemer1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/790041
2010-03-26regexp: don't return non-nil *Regexp if there is an error.Rob Pike1-0/+3
R=gri CC=golang-dev http://codereview.appspot.com/787041
2010-03-24delete all uses of panicln by rewriting them using panic or,Rob Pike1-1/+1
in the tests, println+panic. gofmt some tests too. R=rsc CC=golang-dev http://codereview.appspot.com/741041
2010-03-16gofmt: more consistent formatting of const/var declsRobert Griesemer1-11/+11
- gofmt -w src misc - only manually modified file: src/pkg/go/printer/nodes.go R=rsc CC=golang-dev, r http://codereview.appspot.com/606041
2009-12-151) Change default gofmt default settings forRobert Griesemer1-340/+340
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 5th and last set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180050
2009-12-11Various cleanups:Robert Griesemer1-2/+1
- no need to replace comments for stand-alone blocks - always print string concatenations with interspersed "+" (remove option) - minor cleanups R=rsc http://codereview.appspot.com/174076
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox1-1/+1
R=r, gri CC=golang-dev http://codereview.appspot.com/156115
2009-11-10make regexp comment not a package commentRuss Cox1-0/+1
R=r http://go/go-review/1025036
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer1-5/+5
rsc's algorithm - applied gofmt -w misc src - partial CL (last chunk) R=rsc, r http://go/go-review/1024041
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-49/+49
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer1-93/+31
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-11-05gofmt'ed more stragglersRobert Griesemer1-9/+9
R=rsc http://go/go-review/1019004
2009-11-02eliminate goroutine from testing/regexp too.Rob Pike1-75/+77
R=rsc CC=go-dev http://go/go-review/1018021
2009-10-08more lgtm files from gofmtRuss Cox1-117/+171
R=gri OCL=35485 CL=35488
2009-09-01Don't crash for regexps > 19 characters.Austin Clements1-1/+1
R=r APPROVED=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=34216 CL=34220
2009-08-12convert non-low-level non-google pkg codeRuss Cox1-2/+0
to whole-package compilation. R=r OCL=33070 CL=33101
2009-08-11make a simpler regexp implementation with fewer dependencies and put it ↵Rob Pike1-0/+863
inside testing. remove "regexp." from regexp tests. R=rsc DELTA=1173 (1152 added, 1 deleted, 20 changed) OCL=33028 CL=33037