mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
reflect: rename reflect.ArrayCopy to be reflect.Copy.
R=r CC=golang-dev https://golang.org/cl/3601041
This commit is contained in:
parent
7ec69c179d
commit
73fd298901
5 changed files with 8 additions and 8 deletions
|
|
@ -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] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue