summaryrefslogtreecommitdiff
path: root/test/index.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/index.go')
-rw-r--r--test/index.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/index.go b/test/index.go
index f9360c102..a8c471bb3 100644
--- a/test/index.go
+++ b/test/index.go
@@ -164,7 +164,7 @@ func testExpr(b *bufio.Writer, expr string) {
if pass == 0 {
fmt.Fprintf(b, "\ttest(func(){use(%s)}, %q)\n", expr, expr)
} else {
- fmt.Fprintf(b, "\tuse(%s) // ERROR \"index|overflow|truncated\"\n", expr)
+ fmt.Fprintf(b, "\tuse(%s) // ERROR \"index|overflow|truncated|must be integer\"\n", expr)
}
}