From: David Symonds Date: Thu, 14 May 2009 22:42:27 +0000 (-0700) Subject: Hyphens are allowed in filenames. This allows this test to pass for me. X-Git-Tag: weekly.2009-11-06~1641 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=16387fad3964a3bc24cb0a20a10eeba848b8ae34;p=gostls13.git 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 --- diff --git a/src/lib/log/log_test.go b/src/lib/log/log_test.go index ed7d2a8f87..73ef77fa6b 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 {