summaryrefslogtreecommitdiff
path: root/test/typeswitch.go
Commit message (Collapse)AuthorAgeFilesLines
* test/[n-z]*.go: add documentationRob Pike2012-02-241-0/+2
| | | | | | R=golang-dev, bradfitz, r CC=golang-dev http://codereview.appspot.com/5700056
* 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
* gc: remove func, map compareRuss Cox2011-11-131-3/+2
| | | | | | R=ken, ken CC=golang-dev http://codereview.appspot.com/5373079
* delete float, complex - code changesRuss Cox2011-01-191-5/+8
| | | | | | | | | | | 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-39/+39
| | | | | | | | The ken directory is untouched so we have some examples with explicit semis. R=gri CC=golang-dev http://codereview.appspot.com/2157041
* move things out of sys into os and runtimeRuss Cox2009-05-081-1/+3
| | | | | | R=r OCL=28569 CL=28573
* simplify test to eliminate now-deprecated forms of switch.Rob Pike2009-03-181-76/+13
| | | | | | | R=rsc DELTA=76 (0 added, 63 deleted, 13 changed) OCL=26439 CL=26490
* remove assignment cases from switchKen Thompson2009-03-181-48/+48
| | | | | | R=r OCL=26480 CL=26480
* add value checks to the other switch - should have done this in prior roundRob Pike2009-03-171-9/+9
| | | | | | R=rsc OCL=26438 CL=26438
* add test for type switchesRob Pike2009-03-171-0/+173
R=rsc DELTA=169 (169 added, 0 deleted, 0 changed) OCL=26433 CL=26437