]> Cypherpunks repositories - gostls13.git/commitdiff
test: fix issue 15992 test wrong function call
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Wed, 5 Feb 2020 03:32:44 +0000 (10:32 +0700)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 11 Mar 2020 06:06:20 +0000 (06:06 +0000)
Change-Id: I623ae5faffce456b34d97a2a0aa277ecbf1990f0
Reviewed-on: https://go-review.googlesource.com/c/go/+/217699
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
test/fixedbugs/issue15992.go

index 957bb89facd9ddd900688ba4ee3318484b21e111..cda5527c67edae1dfce778ea777fac26f8ec1efb 100644 (file)
@@ -28,7 +28,7 @@ func main() {
        fmt.Println(n, a)
 
        b := []byte{1, 2, 3}
-       n = copy(f(b))
+       n = copy(g(b))
        fmt.Println(n, b)
 
        m := map[int]int{0: 0}