summaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue4813.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue4813.go')
-rw-r--r--test/fixedbugs/issue4813.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/fixedbugs/issue4813.go b/test/fixedbugs/issue4813.go
index 20dc58795..f560b2fac 100644
--- a/test/fixedbugs/issue4813.go
+++ b/test/fixedbugs/issue4813.go
@@ -28,25 +28,25 @@ var (
var (
a1 = A[i]
a2 = A[f]
- a3 = A[f2] // ERROR "truncated"
+ a3 = A[f2] // ERROR "truncated|must be integer"
a4 = A[c]
- a5 = A[c2] // ERROR "truncated"
+ a5 = A[c2] // ERROR "truncated|must be integer"
a6 = A[vf] // ERROR "non-integer|must be integer"
a7 = A[vc] // ERROR "non-integer|must be integer"
s1 = S[i]
s2 = S[f]
- s3 = S[f2] // ERROR "truncated"
+ s3 = S[f2] // ERROR "truncated|must be integer"
s4 = S[c]
- s5 = S[c2] // ERROR "truncated"
+ s5 = S[c2] // ERROR "truncated|must be integer"
s6 = S[vf] // ERROR "non-integer|must be integer"
s7 = S[vc] // ERROR "non-integer|must be integer"
t1 = T[i]
t2 = T[f]
- t3 = T[f2] // ERROR "truncated"
+ t3 = T[f2] // ERROR "truncated|must be integer"
t4 = T[c]
- t5 = T[c2] // ERROR "truncated"
+ t5 = T[c2] // ERROR "truncated|must be integer"
t6 = T[vf] // ERROR "non-integer|must be integer"
t7 = T[vc] // ERROR "non-integer|must be integer"
)