diff options
author | Michael Stapelberg <stapelberg@debian.org> | 2013-12-03 09:43:15 +0100 |
---|---|---|
committer | Michael Stapelberg <stapelberg@debian.org> | 2013-12-03 09:43:15 +0100 |
commit | 64d2a7c8945ba05af859901f5e248f1befdd8621 (patch) | |
tree | 013fcb7e9e3296ecdda876012252c36bd6bcb063 /test/fixedbugs/issue4813.go | |
parent | b901efe83e212f0c34c769c079e41373da12d723 (diff) | |
download | golang-64d2a7c8945ba05af859901f5e248f1befdd8621.tar.gz |
Imported Upstream version 1.2upstream/1.2
Diffstat (limited to 'test/fixedbugs/issue4813.go')
-rw-r--r-- | test/fixedbugs/issue4813.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/fixedbugs/issue4813.go b/test/fixedbugs/issue4813.go index 0ca9d3f72..20dc58795 100644 --- a/test/fixedbugs/issue4813.go +++ b/test/fixedbugs/issue4813.go @@ -31,22 +31,22 @@ var ( a3 = A[f2] // ERROR "truncated" a4 = A[c] a5 = A[c2] // ERROR "truncated" - a6 = A[vf] // ERROR "non-integer" - a7 = A[vc] // ERROR "non-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" s4 = S[c] s5 = S[c2] // ERROR "truncated" - s6 = S[vf] // ERROR "non-integer" - s7 = S[vc] // ERROR "non-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" t4 = T[c] t5 = T[c2] // ERROR "truncated" - t6 = T[vf] // ERROR "non-integer" - t7 = T[vc] // ERROR "non-integer" + t6 = T[vf] // ERROR "non-integer|must be integer" + t7 = T[vc] // ERROR "non-integer|must be integer" ) |