Skip to content

Commit 8515a9f

Browse files
committed
log test: don't assume a fixed set of letters for $GOROOT
Fixes #27. R=r https://golang.org/cl/152075
1 parent ed86d0e commit 8515a9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pkg/log/log_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const (
1818
Rtime = `[0-9][0-9]:[0-9][0-9]:[0-9][0-9]`;
1919
Rmicroseconds = `\.[0-9][0-9][0-9][0-9][0-9][0-9]`;
2020
Rline = `[0-9]+:`;
21-
Rlongfile = `/[A-Za-z0-9_/\-]+\.go:` + Rline;
21+
Rlongfile = `.*/[A-Za-z0-9_\-]+\.go:` + Rline;
2222
Rshortfile = `[A-Za-z0-9_\-]+\.go:` + Rline;
2323
)
2424

0 commit comments

Comments
 (0)