new new & make

R=r
OCL=22166
CL=22166
This commit is contained in:
Russ Cox 2009-01-06 15:19:02 -08:00
parent 9662e7b2db
commit 5564504507
113 changed files with 363 additions and 364 deletions

View file

@ -92,8 +92,8 @@ export func Main(tests []Test) {
if chatty {
println("=== RUN ", tests[i].name);
}
t := new(*T);
t.ch = new(chan *T);
t := new(T);
t.ch = make(chan *T);
go TRunner(t, &tests[i]);
<-t.ch;
if t.failed {