summaryrefslogtreecommitdiff
path: root/test/decl.go
Commit message (Collapse)AuthorAgeFilesLines
* test: ensure all failing tests exit nonzero.Alan Donovan2013-02-121-2/+3
| | | | | | | | | | 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: explanatory comments [c-g]*Rob Pike2012-02-191-1/+1
| | | | | | R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/5656103
* test: use testlib (first 100)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/5656082
* delete float, complex - code changesRuss Cox2011-01-191-6/+6
| | | | | | | | | | | 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-15/+15
| | | | | | | | The ken directory is untouched so we have some examples with explicit semis. R=gri CC=golang-dev http://codereview.appspot.com/2157041
* last round: non-package codeRuss Cox2009-09-151-0/+1
| | | | | | | R=r DELTA=127 (38 added, 3 deleted, 86 changed) OCL=34640 CL=34650
* 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
* typo in messageRob Pike2009-04-191-1/+1
| | | | | | R=ken OCL=27621 CL=27621
* add another test to decl to see that result vars are redeclarable.Rob Pike2009-04-191-0/+8
| | | | | | R=ken OCL=27620 CL=27620
* tests for redeclaration in :=Rob Pike2009-04-181-0/+29
R=ken DELTA=71 (71 added, 0 deleted, 0 changed) OCL=27616 CL=27616