summaryrefslogtreecommitdiff
path: root/test/convert.go
Commit message (Collapse)AuthorAgeFilesLines
* test: [a-c]: add introductory comments to testsRob Pike2012-02-191-0/+2
| | | | | | | | | | | | Very few of the compiler regression tests include a comment saying waht they do. Many are obvious, some are anything but. I've started with a-c in the top directory. More will follow once we agree on the approach, correctness, and thoroughness here. zerodivide.go sneaked in too. R=rsc, r CC=golang-dev http://codereview.appspot.com/5656100
* 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
* fix tree for reflect renameRuss Cox2011-04-251-1/+1
| | | | | | R=golang-dev, r CC=golang-dev http://codereview.appspot.com/4435067
* delete all uses of panicln by rewriting them using panic or,Rob Pike2010-03-241-19/+16
| | | | | | | | | in the tests, println+panic. gofmt some tests too. R=rsc CC=golang-dev http://codereview.appspot.com/741041
* making some more non-gofmt'ed files save for new semicolon ruleRobert Griesemer2009-12-091-3/+1
| | | | | R=rsc, r http://codereview.appspot.com/171051
* maps have == so maps should work as map keys.Russ Cox2009-07-031-3/+2
| | | | | | | | | fix tests of bad map keys to use slices instead. R=r DELTA=7 (0 added, 1 deleted, 6 changed) OCL=31123 CL=31145
* implications of stricter type equality:Russ Cox2009-05-081-4/+1
| | | | | | | | | | | if both types are named, they must be the same type (arising from the same declaration). R=r,gri DELTA=44 (21 added, 4 deleted, 19 changed) OCL=28436 CL=28577
* Move sys.Reflect and sys.Unreflect into unsafe.Rob Pike2009-05-081-1/+1
| | | | | | | R=rsc DELTA=19 (4 added, 5 deleted, 10 changed) OCL=28563 CL=28566
* make 6g constants behave as ken proposes. (i hope.)Russ Cox2009-03-121-0/+53
various bug fixes and tests involving constants. test/const1.go is the major new test case. R=ken OCL=26216 CL=26224