aboutsummaryrefslogtreecommitdiff
path: root/test/nil.go
AgeCommit message (Collapse)Author
2013-02-12test: ensure all failing tests exit nonzero.Alan Donovan
Previously merely printing an error would cause the golden file comparison (in 'bash run') to fail, but that is no longer the case with the new run.go driver. R=iant CC=golang-dev https://golang.org/cl/7310087
2012-12-13test: move map delete test to nil.goIan Lance Taylor
No need for a separate test for this. R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/6941045
2012-12-14test/nil.go: delete on nil maps no longer panicsShenghou Ma
Fix the build. R=golang-dev CC=golang-dev https://golang.org/cl/6946044
2012-02-24test/[n-r]*.go: add documentationRob Pike
The rename ones needed redoing. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/5698054
2012-02-16test: use testlib (final 61)Russ Cox
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/5671080
2011-10-18gofix -r mapdeleteRuss Cox
R=golang-dev, r, adg, r, cw CC=golang-dev https://golang.org/cl/5266045
2011-08-17test: new nil semanticsRuss Cox
R=gri CC=golang-dev https://golang.org/cl/4644052
2011-01-19delete float, complex - code changesRuss Cox
also: cmplx -> complex float64(1.0) -> 1.0 float64(1) -> 1.0 R=gri, r, gri1, r2 CC=golang-dev https://golang.org/cl/3991043
2010-09-04test: remove semiocolons.Rob Pike
The ken directory is untouched so we have some examples with explicit semis. R=gri CC=golang-dev https://golang.org/cl/2157041
2009-09-14fix "declared and not used" in tests;Russ Cox
also template/template.go, missed last time. R=r DELTA=116 (61 added, 10 deleted, 45 changed) OCL=34620 CL=34622
2009-01-20delete exportRuss Cox
TBR=r OCL=23121 CL=23127
2009-01-16convert tests; nothing interesting.Russ Cox
R=r OCL=23012 CL=23014
2009-01-06new new & makeRuss Cox
R=r OCL=22166 CL=22166
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox
R=r OCL=21563 CL=21571
2008-06-18a couple of bugs around nil are fixedRob Pike
SVN=123423
2008-06-13Add nil test, with bugRob Pike
SVN=122644