]> Cypherpunks repositories - gostls13.git/commit
testing: do not print 'no tests' when there are examples
authorRuss Cox <rsc@golang.org>
Wed, 7 Mar 2012 19:54:31 +0000 (14:54 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 7 Mar 2012 19:54:31 +0000 (14:54 -0500)
commit291636b99bcb581301faa14de61cde4c9093c335
treec15638745e4f5c8ddaad74efe3dbeb9473f7c8d4
parent3dcedb620cd0900be6d6de44f66c9b7eb82f2dca
testing: do not print 'no tests' when there are examples

I am not sure why RunTests and RunExamples are
exported, but I assume that because they are we
should not change the signature, so I added an
unexported global shared by Main and RunTests.

Fixes #3237.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5779043
src/pkg/testing/testing.go