aboutsummaryrefslogtreecommitdiff
path: root/test/decl.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-02-19test: explanatory comments [c-g]*Rob Pike
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5656103
2012-02-16test: use testlib (first 100)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/5656082
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-15last round: non-package codeRuss Cox
R=r DELTA=127 (38 added, 3 deleted, 86 changed) OCL=34640 CL=34650
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-04-19typo in messageRob Pike
R=ken OCL=27621 CL=27621
2009-04-19add another test to decl to see that result vars are redeclarable.Rob Pike
R=ken OCL=27620 CL=27620
2009-04-18tests for redeclaration in :=Rob Pike
R=ken DELTA=71 (71 added, 0 deleted, 0 changed) OCL=27616 CL=27616