mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
change naming convention for tests from
test*.go to *test.go R=rsc DELTA=1747 (864 added, 855 deleted, 28 changed) OCL=19666 CL=19666
This commit is contained in:
parent
64023e7b7d
commit
12254b6c0b
18 changed files with 24 additions and 32 deletions
|
|
@ -74,6 +74,9 @@ func TRunner(t *T, test *Test) {
|
|||
|
||||
export func Main(tests *[]Test) {
|
||||
ok := true;
|
||||
if len(tests) == 0 {
|
||||
println("gotest: warning: no tests to run");
|
||||
}
|
||||
for i := 0; i < len(tests); i++ {
|
||||
if chatty {
|
||||
println("=== RUN ", tests[i].name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue