mirror of
https://github.com/golang/go
synced 2024-11-26 10:38:07 -07:00
9d669ed47a
The test was using the wrong column numbers, and was erroneously passing because there happened to be line numbers that matched those column numbers. Change the test harness to require the expected line number for the ERROR HERE regexp case, so that this doesn't happen again. Also rename a couple of variables in the test to avoid useless redeclaration errors. Fixes #46534 Change-Id: I2fcbf5e379c346de5346035c73d174a3980c0927 Reviewed-on: https://go-review.googlesource.com/c/go/+/324970 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> |
||
---|---|---|
.. | ||
err1.go | ||
err2.go | ||
err4.go | ||
issue11097a.go | ||
issue11097b.go | ||
issue14669.go | ||
issue18452.go | ||
issue18889.go | ||
issue28069.go | ||
issue28721.go | ||
issue33061.go | ||
issue42580.go | ||
long_double_size.go | ||
malloc.go |