1
0
mirror of https://github.com/golang/go synced 2024-11-26 07:07:57 -07:00
go/test
Rob Pike 62b06fa506 update map test.
convert to printf.
increase count to 1000 - maps are faster now.
add cases for structure values as key and maps.

R=rsc
DELTA=197  (66 added, 18 deleted, 113 changed)
OCL=21683
CL=21686
2008-12-20 16:07:43 -08:00
..
bugs change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
chan change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
fixedbugs fix some tests. only 3 remain broken (complit, hilbert, initcomma). 2008-12-20 13:38:29 -08:00
ken fix some tests. only 3 remain broken (complit, hilbert, initcomma). 2008-12-20 13:38:29 -08:00
235.go change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
args.go fix bug depot: 2008-08-11 22:07:49 -07:00
bigalg.go [] and struct in interfaces. 2008-12-19 17:11:54 -08:00
char_lit.go fix bug depot: 2008-08-11 22:07:49 -07:00
complit.go change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
const.go fix the easy parts of bug120 2008-11-17 13:58:45 -08:00
convlit1.go Match error messages generated by gccgo: 2008-10-20 17:10:03 -07:00
convlit.go fix the easy parts of bug120 2008-11-17 13:58:45 -08:00
empty.go test of new empty productions 2008-10-08 15:33:18 -07:00
env.go add os.Getenv() 2008-09-22 17:31:41 -07:00
errchk make sure errchk only prints BUG once. 2008-10-30 12:43:32 -07:00
export.go diagnose export of incomplete type 2008-10-15 17:51:23 -07:00
float_lit.go minor int/float fixes 2008-10-29 13:58:12 -07:00
for.go fix bug depot: 2008-08-11 22:07:49 -07:00
func1.go Check for specific error messages in the testsuite. This 2008-09-19 14:39:49 -07:00
func2.go convert *[] to []. 2008-12-18 22:37:22 -08:00
func3.go change in spec results in non-error 2008-10-06 16:27:14 -07:00
func.go change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
golden.out fix type/name thing, again 2008-12-16 17:45:28 -08:00
hashmap.go change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
helloworld.go fix bug depot: 2008-08-11 22:07:49 -07:00
hilbert.go change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
if1.go fix bug depot: 2008-08-11 22:07:49 -07:00
if.go fix bug depot: 2008-08-11 22:07:49 -07:00
initcomma.go fix some tests. only 3 remain broken (complit, hilbert, initcomma). 2008-12-20 13:38:29 -08:00
int_lit.go fix bug depot: 2008-08-11 22:07:49 -07:00
interface1.go change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
interface2.go more interface checks: 2008-10-08 09:21:57 -07:00
interface3.go do not set t->recur on basic types. 2008-10-17 17:51:29 -07:00
interface.go test that mutually recursive interfaces compile 2008-10-07 12:36:39 -07:00
iota.go test pairwise iota assignment 2008-12-05 15:37:09 -08:00
literal.go fix bug depot: 2008-08-11 22:07:49 -07:00
malloc1.go malloc in runtime (not used by default) 2008-12-18 15:42:28 -08:00
mallocrand.go malloc in runtime (not used by default) 2008-12-18 15:42:28 -08:00
mallocrep1.go [] and struct in interfaces. 2008-12-19 17:11:54 -08:00
mallocrep.go malloc bug fixes. 2008-12-19 03:13:39 -08:00
map.go update map test. 2008-12-20 16:07:43 -08:00
method1.go Recognize gccgo error messages. This uses GCCGO_ERROR, which 2008-11-11 18:18:34 -08:00
method2.go move invalid method uses to new test 2008-11-04 09:45:27 -08:00
method.go move invalid method uses to new test 2008-11-04 09:45:27 -08:00
newfn.go reject new of function type 2008-10-21 18:03:25 -07:00
nil.go change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
peano.go change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
printbig.go fix printing of -(1<<63) 2008-09-17 14:08:52 -07:00
readfile.go update code to follow new semicolon rules: 2008-10-07 12:31:31 -07:00
run update golden.out. 2008-11-17 12:44:22 -08:00
sieve.go change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
sigchld.go preparation for exec. 2008-12-03 14:21:28 -08:00
simassign.go fix bug depot: 2008-08-11 22:07:49 -07:00
string_lit.go fix bug depot: 2008-08-11 22:07:49 -07:00
switch1.go export sys.exit 2008-06-27 14:15:06 -07:00
switch.go fix bug depot: 2008-08-11 22:07:49 -07:00
test0.go change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
turing.go fix bug depot: 2008-08-11 22:07:49 -07:00
utf.go change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
varinit.go The scope rules have been clarified to indicate that a 2008-11-17 12:19:02 -08:00
vectors.go fix some tests. only 3 remain broken (complit, hilbert, initcomma). 2008-12-20 13:38:29 -08:00