diff options
Diffstat (limited to 'src/lib/reflect/all_test.go')
-rw-r--r-- | src/lib/reflect/all_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/reflect/all_test.go b/src/lib/reflect/all_test.go index 631a5662c..f991110a8 100644 --- a/src/lib/reflect/all_test.go +++ b/src/lib/reflect/all_test.go @@ -308,7 +308,7 @@ func TestCopyArray(t *testing.T) { } } for tocopy := 1; tocopy <= 7; tocopy++ { - CopyArray(vb.(PtrValue).Sub(), va.(PtrValue).Sub(), tocopy); + vb.(PtrValue).Sub().(ArrayValue).CopyFrom(va.(PtrValue).Sub(), tocopy); for i := 0; i < tocopy; i++ { if a[i] != b[i] { t.Errorf("1 tocopy=%d a[%d]=%d, b[%d]=%d", |