]> Cypherpunks repositories - gostls13.git/commitdiff
Hyphens are allowed in filenames. This allows this test to pass for me.
authorDavid Symonds <dsymonds@golang.org>
Thu, 14 May 2009 22:42:27 +0000 (15:42 -0700)
committerDavid Symonds <dsymonds@golang.org>
Thu, 14 May 2009 22:42:27 +0000 (15:42 -0700)
R=r
APPROVED=r
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=28847
CL=28851

src/lib/log/log_test.go

index ed7d2a8f872a367326e1774a4b28c8b1dad6a650..73ef77fa6b0e4fe8110448dc222466d3d3b43054 100644 (file)
@@ -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 {