aboutsummaryrefslogtreecommitdiff
path: root/src/database
diff options
context:
space:
mode:
authorGiovanni Bajo <rasky@develer.com>2018-05-19 09:42:52 +0200
committerGiovanni Bajo <rasky@develer.com>2018-09-02 10:31:37 +0000
commitf02cc88f46e01c21e550dbf212aefcdad138a91d (patch)
tree10f13788e0eb669602c0196b7d636c2d11162e37 /src/database
parentc9cc20bd3ad7ab68f620cb650376f1c01dc1167e (diff)
downloadgo-f02cc88f46e01c21e550dbf212aefcdad138a91d.tar.xz
test: relax whitespaces matching in codegen tests
The codegen testsuite uses regexp to parse the syntax, but it doesn't have a way to tell line comments containing checks from line comments containing English sentences. This means that any syntax error (that is, non-matching regexp) is currently ignored and not reported. There were some tests in memcombine.go that had an extraneous space and were thus effectively disabled. It would be great if we could report it as a syntax error, but for now we just punt and swallow the spaces as a workaround, to avoid the same mistake again. Fixes #25452 Change-Id: Ic7747a2278bc00adffd0c199ce40937acbbc9cf0 Reviewed-on: https://go-review.googlesource.com/113835 Run-TryBot: Giovanni Bajo <rasky@develer.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/database')
0 files changed, 0 insertions, 0 deletions