diff options
author | David Symonds <dsymonds@golang.org> | 2009-05-14 15:42:27 -0700 |
---|---|---|
committer | David Symonds <dsymonds@golang.org> | 2009-05-14 15:42:27 -0700 |
commit | 2fa7b7cd6b7882c46d8972a5a83c78fa76435278 (patch) | |
tree | 9e423aec05c194771864e96e0ea8c47352c0b19e /src | |
parent | 4d83e9290903c3f2ab75ae9e5c6d77fa5025bbc8 (diff) | |
download | golang-2fa7b7cd6b7882c46d8972a5a83c78fa76435278.tar.gz |
Hyphens are allowed in filenames. This allows this test to pass for me.
R=r
APPROVED=r
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=28847
CL=28851
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/log/log_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/log/log_test.go b/src/lib/log/log_test.go index ed7d2a8f8..73ef77fa6 100644 --- a/src/lib/log/log_test.go +++ b/src/lib/log/log_test.go @@ -19,8 +19,8 @@ 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; - Rshortfile = `[A-Za-z0-9_]+\.go:` + Rline; + Rlongfile = `/[A-Za-z0-9_/\-]+\.go:` + Rline; + Rshortfile = `[A-Za-z0-9_\-]+\.go:` + Rline; ) type tester struct { |