1
0
mirror of https://github.com/golang/go synced 2024-11-12 08:40:21 -07:00

log test: don't assume a fixed set of letters for $GOROOT

Fixes #27.

R=r
https://golang.org/cl/152075
This commit is contained in:
Russ Cox 2009-11-11 13:07:46 -08:00
parent ed86d0e70a
commit 8515a9f4e2

View File

@ -18,7 +18,7 @@ const (
Rtime = `[0-9][0-9]:[0-9][0-9]:[0-9][0-9]`;
Rmicroseconds = `\.[0-9][0-9][0-9][0-9][0-9][0-9]`;
Rline = `[0-9]+:`;
Rlongfile = `/[A-Za-z0-9_/\-]+\.go:` + Rline;
Rlongfile = `.*/[A-Za-z0-9_\-]+\.go:` + Rline;
Rshortfile = `[A-Za-z0-9_\-]+\.go:` + Rline;
)