<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/go-git.git/test/initializerr.go, branch dev.typealias</title>
<subtitle>github.com: golang/go
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/'/>
<entry>
<title>test: add "duplicate" struct map key test</title>
<updated>2012-12-17T16:05:58+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2012-12-17T16:05:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=94430937ac9330a4c7e8ed23659bc4475f520739'/>
<id>94430937ac9330a4c7e8ed23659bc4475f520739</id>
<content type='text'>
Update #4555.

R=gri, iant
CC=golang-dev
https://golang.org/cl/6944059
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update #4555.

R=gri, iant
CC=golang-dev
https://golang.org/cl/6944059
</pre>
</div>
</content>
</entry>
<entry>
<title>test: commentary for [h-m]*.go</title>
<updated>2012-02-23T07:47:26+00:00</updated>
<author>
<name>Rob Pike</name>
<email>r@golang.org</email>
</author>
<published>2012-02-23T07:47:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=501f0b578fd2bbd1919d85c4d3d4bb2e15e18545'/>
<id>501f0b578fd2bbd1919d85c4d3d4bb2e15e18545</id>
<content type='text'>
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5674112
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5674112
</pre>
</div>
</content>
</entry>
<entry>
<title>test: use testlib (fourth 100)</title>
<updated>2012-02-17T04:50:37+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2012-02-17T04:50:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=d2cc9884296e84f18ff23550a4561e7b0109efd5'/>
<id>d2cc9884296e84f18ff23550a4561e7b0109efd5</id>
<content type='text'>
X ,s;^// \$G (\$D/)?\$F\.go *$;// compile;g
X ,s;^// \$G (\$D/)?\$F\.go &amp;&amp; \$L \$F\.\$A *$;// build;g
X ,s;^// \$G (\$D/)?\$F\.go &amp;&amp; \$L \$F\.\$A &amp;&amp; \./\$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/5673079
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
X ,s;^// \$G (\$D/)?\$F\.go *$;// compile;g
X ,s;^// \$G (\$D/)?\$F\.go &amp;&amp; \$L \$F\.\$A *$;// build;g
X ,s;^// \$G (\$D/)?\$F\.go &amp;&amp; \$L \$F\.\$A &amp;&amp; \./\$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/5673079
</pre>
</div>
</content>
</entry>
<entry>
<title>errchk: allow multiple patterns</title>
<updated>2011-08-16T15:14:26+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2011-08-16T15:14:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=a5d7c1f45e0b36a34462fd8ce10b869e7a12f246'/>
<id>a5d7c1f45e0b36a34462fd8ce10b869e7a12f246</id>
<content type='text'>
// 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
https://golang.org/cl/4869044
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
// 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
https://golang.org/cl/4869044
</pre>
</div>
</content>
</entry>
<entry>
<title>test: remove semiocolons.</title>
<updated>2010-09-04T00:36:13+00:00</updated>
<author>
<name>Rob Pike</name>
<email>r@golang.org</email>
</author>
<published>2010-09-04T00:36:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c'/>
<id>4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c</id>
<content type='text'>
The ken directory is untouched so we have some examples with explicit semis.

R=gri
CC=golang-dev
https://golang.org/cl/2157041
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ken directory is untouched so we have some examples with explicit semis.

R=gri
CC=golang-dev
https://golang.org/cl/2157041
</pre>
</div>
</content>
</entry>
<entry>
<title>Adjust expected errors to work with gccgo.</title>
<updated>2009-05-31T18:18:52+00:00</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2009-05-31T18:18:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=8cbb5d03bf882cfcfa08f4313219e4fc68db7517'/>
<id>8cbb5d03bf882cfcfa08f4313219e4fc68db7517</id>
<content type='text'>
The change to assign.go is because the gcc testsuite fails to
handle .* in a normal way: it matches against the entire
compiler output, not just a single line.

assign.go:15:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')
assign.go:19:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')
assign.go:23:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')
assign.go:27:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')

chan/perm.go:14:5: error: incompatible types in assignment
chan/perm.go:15:5: error: incompatible types in assignment
chan/perm.go:16:6: error: incompatible types in assignment
chan/perm.go:17:6: error: incompatible types in assignment
chan/perm.go:24:7: error: invalid send on receive-only channel
chan/perm.go:25:12: error: invalid send on receive-only channel
chan/perm.go:31:4: error: invalid receive on send-only channel
chan/perm.go:32:9: error: invalid receive on send-only channel
chan/perm.go:38:2: error: invalid send on receive-only channel
chan/perm.go:42:2: error: invalid receive on send-only channel

initializerr.go:14:17: error: reference to undefined variable 'X'
initializerr.go:14:19: error: mixture of field and value initializers
initializerr.go:15:26: error: duplicate value for field 'Y'
initializerr.go:16:10: error: too many values in struct composite literal
initializerr.go:18:19: error: index expression is not integer constant
initializerr.go:17:11: error: too many elements in composite literal

R=rsc
DELTA=12  (0 added, 0 deleted, 12 changed)
OCL=29657
CL=29665
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The change to assign.go is because the gcc testsuite fails to
handle .* in a normal way: it matches against the entire
compiler output, not just a single line.

assign.go:15:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')
assign.go:19:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')
assign.go:23:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')
assign.go:27:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')

chan/perm.go:14:5: error: incompatible types in assignment
chan/perm.go:15:5: error: incompatible types in assignment
chan/perm.go:16:6: error: incompatible types in assignment
chan/perm.go:17:6: error: incompatible types in assignment
chan/perm.go:24:7: error: invalid send on receive-only channel
chan/perm.go:25:12: error: invalid send on receive-only channel
chan/perm.go:31:4: error: invalid receive on send-only channel
chan/perm.go:32:9: error: invalid receive on send-only channel
chan/perm.go:38:2: error: invalid send on receive-only channel
chan/perm.go:42:2: error: invalid receive on send-only channel

initializerr.go:14:17: error: reference to undefined variable 'X'
initializerr.go:14:19: error: mixture of field and value initializers
initializerr.go:15:26: error: duplicate value for field 'Y'
initializerr.go:16:10: error: too many values in struct composite literal
initializerr.go:18:19: error: index expression is not integer constant
initializerr.go:17:11: error: too many elements in composite literal

R=rsc
DELTA=12  (0 added, 0 deleted, 12 changed)
OCL=29657
CL=29665
</pre>
</div>
</content>
</entry>
<entry>
<title>allow type name as key to accomodate anonymous fields.</title>
<updated>2009-05-21T23:31:10+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2009-05-21T23:31:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=c2fa45b9738e79608165f5e8c2b81c08bc158a0a'/>
<id>c2fa45b9738e79608165f5e8c2b81c08bc158a0a</id>
<content type='text'>
update tests.

R=ken
OCL=29207
CL=29207
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
update tests.

R=ken
OCL=29207
CL=29207
</pre>
</div>
</content>
</entry>
<entry>
<title>tests for new initializer syntax</title>
<updated>2009-05-21T21:46:13+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2009-05-21T21:46:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=d5269d0008126e72deccdbd2c6ee241c41986a42'/>
<id>d5269d0008126e72deccdbd2c6ee241c41986a42</id>
<content type='text'>
R=r
DELTA=79  (79 added, 0 deleted, 0 changed)
OCL=29196
CL=29202
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=r
DELTA=79  (79 added, 0 deleted, 0 changed)
OCL=29196
CL=29202
</pre>
</div>
</content>
</entry>
</feed>
