aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue19323.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue19323.go')
-rw-r--r--test/fixedbugs/issue19323.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/issue19323.go b/test/fixedbugs/issue19323.go
index f90af660d5..71365e10dd 100644
--- a/test/fixedbugs/issue19323.go
+++ b/test/fixedbugs/issue19323.go
@@ -9,11 +9,11 @@ package p
func g() {}
func f() {
- g()[:] // ERROR "g.. used as value"
+ g()[:] // ERROR "g.. used as value|attempt to slice object that is not"
}
func g2() ([]byte, []byte) { return nil, nil }
func f2() {
- g2()[:] // ERROR "multiple-value g2.. in single-value context"
+ g2()[:] // ERROR "multiple-value g2.. in single-value context|attempt to slice object that is not"
}