aboutsummaryrefslogtreecommitdiff
path: root/test/escape_calls.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/escape_calls.go')
-rw-r--r--test/escape_calls.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/escape_calls.go b/test/escape_calls.go
index 2dbfee1558..9e1db5426e 100644
--- a/test/escape_calls.go
+++ b/test/escape_calls.go
@@ -50,5 +50,5 @@ func bar() {
f := prototype
f = func(ss []string) { got = append(got, ss) } // ERROR "leaking param: ss" "func literal does not escape"
s := "string"
- f([]string{s}) // ERROR "\[\]string literal escapes to heap"
+ f([]string{s}) // ERROR "\[\]string{...} escapes to heap"
}