mirror of
https://github.com/golang/go
synced 2024-11-26 03:17:57 -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:
parent
ed86d0e70a
commit
8515a9f4e2
@ -18,7 +18,7 @@ const (
|
|||||||
Rtime = `[0-9][0-9]:[0-9][0-9]:[0-9][0-9]`;
|
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]`;
|
Rmicroseconds = `\.[0-9][0-9][0-9][0-9][0-9][0-9]`;
|
||||||
Rline = `[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;
|
Rshortfile = `[A-Za-z0-9_\-]+\.go:` + Rline;
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user