reflect: rename reflect.ArrayCopy to be reflect.Copy.

R=r
CC=golang-dev
https://golang.org/cl/3601041
This commit is contained in:
Nigel Tao 2010-12-12 20:27:29 +11:00
parent 7ec69c179d
commit 73fd298901
5 changed files with 8 additions and 8 deletions

View file

@ -513,7 +513,7 @@ func TestCopyArray(t *testing.T) {
ab := vb.(*PtrValue).Elem().(*SliceValue)
for tocopy := 1; tocopy <= 7; tocopy++ {
aa.SetLen(tocopy)
ArrayCopy(ab, aa)
Copy(ab, aa)
aa.SetLen(8)
for i := 0; i < tocopy; i++ {
if a[i] != b[i] {