Rob Pike
|
c9b36a87eb
|
test/initcomma.go: restore what it's supposed to be testing
which is trailing commas in literals. They were gofmted away at some point.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5673103
|
2012-02-20 07:44:24 +11:00 |
|
Russ Cox
|
d2cc988429
|
test: use testlib (fourth 100)
X ,s;^// \$G (\$D/)?\$F\.go *$;// compile;g
X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A *$;// build;g
X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A && \./\$A\.out *$;// run;g
X ,s;^// errchk \$G( -e)? (\$D/)?\$F\.go *$;// errorcheck;g
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5673079
|
2012-02-16 23:50:37 -05:00 |
|
Rob Pike
|
325cf8ef21
|
delete all uses of panicln by rewriting them using panic or,
in the tests, println+panic.
gofmt some tests too.
R=rsc
CC=golang-dev
https://golang.org/cl/741041
|
2010-03-24 16:46:53 -07:00 |
|
Russ Cox
|
be2edb5761
|
Automated g4 rollback of changelist 25024,
plus significant hand editing.
Back to T{x} for composite literals.
R=r
OCL=25612
CL=25632
|
2009-03-03 08:39:12 -08:00 |
|
Russ Cox
|
9f8f2e6130
|
convert composite literals from { } to ( ).
only non-trivial changes are in
convlit1.go
golden.out
R=gri
OCL=25019
CL=25024
|
2009-02-13 14:48:32 -08:00 |
|
Ken Thompson
|
476e3cd7fd
|
fixed and added more tests
R=r
OCL=22187
CL=22187
|
2009-01-06 17:44:59 -08:00 |
|
Rob Pike
|
61a7e44002
|
fix some tests. only 3 remain broken (complit, hilbert, initcomma).
leaving golden.out alone for now.
R=ken
DELTA=13 (0 added, 0 deleted, 13 changed)
OCL=21682
CL=21682
|
2008-12-20 13:38:29 -08:00 |
|
Russ Cox
|
08ca30bbfa
|
change *map to map; *chan to chan; new(T) to new(*T)
fix bugs left over from *[] to [] conversion.
TBR=r
OCL=21576
CL=21581
|
2008-12-19 03:05:37 -08:00 |
|
Russ Cox
|
82e41cc533
|
allow trailing comma in braced initialized list
R=ken
OCL=17141
CL=17143
|
2008-10-14 17:10:39 -07:00 |
|