summaryrefslogtreecommitdiff
path: root/test/nil.go
Commit message (Collapse)AuthorAgeFilesLines
* test: ensure all failing tests exit nonzero.Alan Donovan2013-02-121-1/+1
| | | | | | | | | | 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://codereview.appspot.com/7310087
* test: move map delete test to nil.goIan Lance Taylor2012-12-131-0/+3
| | | | | | | | No need for a separate test for this. R=golang-dev, minux.ma, rsc CC=golang-dev https://codereview.appspot.com/6941045
* test/nil.go: delete on nil maps no longer panicsShenghou Ma2012-12-141-3/+0
| | | | | | | | Fix the build. R=golang-dev CC=golang-dev https://codereview.appspot.com/6946044
* test/[n-r]*.go: add documentationRob Pike2012-02-241-0/+2
| | | | | | | | The rename ones needed redoing. R=golang-dev, bradfitz, rsc CC=golang-dev http://codereview.appspot.com/5698054
* test: use testlib (final 61)Russ Cox2012-02-161-1/+1
| | | | | | | | | | | 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 http://codereview.appspot.com/5671080
* gofix -r mapdeleteRuss Cox2011-10-181-1/+1
| | | | | | R=golang-dev, r, adg, r, cw CC=golang-dev http://codereview.appspot.com/5266045
* test: new nil semanticsRuss Cox2011-08-171-0/+142
| | | | | | R=gri CC=golang-dev http://codereview.appspot.com/4644052
* delete float, complex - code changesRuss Cox2011-01-191-4/+3
| | | | | | | | | | | also: cmplx -> complex float64(1.0) -> 1.0 float64(1) -> 1.0 R=gri, r, gri1, r2 CC=golang-dev http://codereview.appspot.com/3991043
* test: remove semiocolons.Rob Pike2010-09-041-18/+18
| | | | | | | | The ken directory is untouched so we have some examples with explicit semis. R=gri CC=golang-dev http://codereview.appspot.com/2157041
* fix "declared and not used" in tests;Russ Cox2009-09-141-0/+2
| | | | | | | | | also template/template.go, missed last time. R=r DELTA=116 (61 added, 10 deleted, 45 changed) OCL=34620 CL=34622
* delete exportRuss Cox2009-01-201-2/+2
| | | | | | TBR=r OCL=23121 CL=23127
* convert tests; nothing interesting.Russ Cox2009-01-161-2/+2
| | | | | | R=r OCL=23012 CL=23014
* new new & makeRuss Cox2009-01-061-1/+1
| | | | | | R=r OCL=22166 CL=22166
* change *map to map; *chan to chan; new(T) to new(*T)Russ Cox2008-12-191-3/+3
| | | | | | | | fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
* convert *[] to [].Russ Cox2008-12-181-1/+1
| | | | | | R=r OCL=21563 CL=21571
* a couple of bugs around nil are fixedRob Pike2008-06-181-3/+3
| | | | SVN=123423
* Add nil test, with bugRob Pike2008-06-131-0/+35
SVN=122644