1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:44:44 -07:00
go/test
Russ Cox 5383e28ea0 change string([]byte) to pass array, rather than &a[0],
to string convert.  if the byte array has length 0,
the computation of &a[0] throws an index bounds error.

for fixed size arrays, this ends up invoking arrays2d
unnecessarily, but it works.

R=ken
DELTA=304  (44 added, 28 deleted, 232 changed)
OCL=15674
CL=15678
2008-09-22 20:12:15 -07:00
..
bugs change string([]byte) to pass array, rather than &a[0], 2008-09-22 20:12:15 -07:00
chan update tests to new communications syntax 2008-09-16 19:33:40 -07:00
fixedbugs re-fix bug067, update golden.out 2008-09-22 16:16:22 -07:00
ken another async select bug 2008-09-20 19:56:40 -07:00
235.go update tests to new communications syntax 2008-09-16 19:33:40 -07:00
args.go fix bug depot: 2008-08-11 22:07:49 -07:00
bufiolib.go fix / work around bugs in bufio test 2008-09-16 14:15:54 -07:00
char_lit.go fix bug depot: 2008-08-11 22:07:49 -07:00
complit.go T{} syntax for constructors 2008-09-05 19:50:34 -07:00
const.go bugs related to constat types 2008-08-20 15:43:12 -07:00
dialgoogle.go add network listening & tests 2008-09-17 13:49:23 -07:00
env.go add os.Getenv() 2008-09-22 17:31:41 -07:00
errchk Check for specific error messages in the testsuite. This 2008-09-19 14:39:49 -07:00
float_lit.go fix bug depot: 2008-08-11 22:07:49 -07:00
fmt_test.go update bugs 2008-09-15 14:27:15 -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
func.go fix bug depot: 2008-08-11 22:07:49 -07:00
golden.out re-fix bug067, update golden.out 2008-09-22 16:16:22 -07:00
hashmap.go - removed need for int() conversion now that x << s has correct type 2008-08-29 13:33:34 -07:00
helloworld.go fix bug depot: 2008-08-11 22:07:49 -07: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
int_lit.go fix bug depot: 2008-08-11 22:07:49 -07:00
iota.go delete redundant bug. 2008-08-20 15:46:05 -07:00
literal.go fix bug depot: 2008-08-11 22:07:49 -07:00
map.go update bugs 2008-09-15 14:27:15 -07:00
math.go add gobuild. 2008-09-19 11:55:46 -07:00
nil.go a couple of bugs around nil are fixed 2008-06-18 13:53:51 -07:00
peano.go fix bug depot: 2008-08-11 22:07:49 -07:00
printbig.go fix printing of -(1<<63) 2008-09-17 14:08:52 -07:00
readfile.go fix bug depot: 2008-08-11 22:07:49 -07:00
run test cleanup 2008-09-22 13:47:53 -07:00
sieve.go update tests to new communications syntax 2008-09-16 19:33:40 -07:00
simassign.go fix bug depot: 2008-08-11 22:07:49 -07:00
sorting.go - added convenience wrappers for sort 2008-09-09 18:13:08 -07:00
string_lit.go fix bug depot: 2008-08-11 22:07:49 -07:00
stringslib.go rudimentary string utilities. 2008-09-12 16:12:20 -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
tcpserver.go add network listening & tests 2008-09-17 13:49:23 -07:00
test0.go test cleanup 2008-07-07 10:03:10 -07:00
timelib.go implement zoneinfo reader 2008-09-22 16:41:14 -07:00
turing.go fix bug depot: 2008-08-11 22:07:49 -07:00
utf.go fix bug depot: 2008-08-11 22:07:49 -07:00
vectors.go vector cleanup: 2008-09-02 13:16:43 -07:00