summaryrefslogtreecommitdiff
path: root/test/rename1.go
Commit message (Collapse)AuthorAgeFilesLines
* test: fix the fix of the rename tests.Rob Pike2012-02-241-39/+38
| | | | | | | | Now they actually test again instead of just setting iota to zero. R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/5700058
* test/[n-r]*.go: add documentationRob Pike2012-02-241-28/+43
| | | | | | | | 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
* errchk: allow multiple patternsRuss Cox2011-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | // ERROR "pattern1" "pattern2" means that there has to be one or more lines matching pattern1 and then excluding those, there have to be one or more lines matching pattern2. So if you expect two different error messages from a particular line, writing two separate patterns checks that both errors are produced. Also, errchk now flags lines that produce more errors than expected. Before, as long as at least one error matched the pattern, all the others were ignored. Revise tests to expect or silence these additional errors. R=lvd, r, iant CC=golang-dev http://codereview.appspot.com/4869044
* delete all uses of panicln by rewriting them using panic or,Rob Pike2010-03-241-32/+30
| | | | | | | | | in the tests, println+panic. gofmt some tests too. R=rsc CC=golang-dev http://codereview.appspot.com/741041
* Recognize gccgo error messages.Ian Lance Taylor2009-10-261-3/+3
| | | | | | | | | rename1.go:10:8: error: expected type rename1.go:11:10: error: expected function rename1.go:13:8: error: incompatible types in binary expression R=rsc http://go/go-review/1015013
* defining package block names must overrideRuss Cox2009-09-091-0/+48
universe block names. BUG=2097244 R=ken OCL=34295 CL=34473